Добавить
Уведомления

Display current time and date in VB

If you want to show time or date in any of your forms you can use this simple method to display. Codes:- (after double clicking on form1, you have to type this) Timer1.enabled=true ---------------------------------------------------------------------------- (after double clicking on timer you have to type this) Label1.text=Date.Now.Tostring("hh:mm:ss") Label2.text=Date.Now.Tostring("dd-MMM-yyyy")

Иконка канала MySQL Стратегия
1 подписчик
12+
16 просмотров
2 года назад
12+
16 просмотров
2 года назад

If you want to show time or date in any of your forms you can use this simple method to display. Codes:- (after double clicking on form1, you have to type this) Timer1.enabled=true ---------------------------------------------------------------------------- (after double clicking on timer you have to type this) Label1.text=Date.Now.Tostring("hh:mm:ss") Label2.text=Date.Now.Tostring("dd-MMM-yyyy")

, чтобы оставлять комментарии