VB - Clock
Hello, in this tutorial I'll teach you how to make your own clock in visual basic 2008/2010.
Create a new form, call it VB Clock
Add a timer and a label ;

Set Timer1 to enabled:

Double click timer 1 and add the following codes:
![]()
Label1.Text = TimeOfDay.ToLongTimeString()
Press F5 or run your program. The label will now show the current time.
Download source codes:
Clock.rar (60,8 kB)


