Make Clock
Posted by
Darki
Labels:
clock date time vb6 darki

Oke , now set the timer interval to 1000 (1 second) and write :
Private Sub Timer1_Timer()
Text1.Text = Hour(Now)
Text2.Text = Minute(Now)
Text3.Text = Second(Now)
Text4.Text = Day(Now)
Text5.Text = Month(Now)
Text6.Text = Year(Now)
End Sub
Thats all. Very easy ha? :P Test it now.! It works !
If u have any questions ,suggestions , if u find a bugs or anything else just comment.
Subscribe to:
Post Comments (Atom)
Post a Comment