Make your own free website on Tripod.com

Digital Clock

This is VB digital clock. However, the code is very simple, just one line. In this program, I insert a timer and set the interval to 1000 which is equal to 1 second, and a label to display the digits.

The codes

Private Sub Timer1_Timer()

Label1.Caption = Time

End Sub