An easy way to do a Clock and Date
This code displays the date and time In digital format!!!
very cool and easy PLEASE VOTE(good votes only) lol only joking
Inputs
A form
2 Labels (make them blank)
2 timers (make both intervals 1)
Assumes
nothing
Returns
nothing
Side Effects
None that i know of.
Rate An easy way to do a Clock and Date
(8(8 Vote))
'Replace the text in the first timer with the following'
Private Sub Timer1_Timer()
Label1.Caption = Time
End Sub
'Replace the text in the Second timer with the following'
Private Sub Timer2_Timer()
Label2.Caption = Date
End Sub
'Remember make sure you set the timer intervals to 1'
'and make sure the labels are blank'
'otherwise it wont work!'
An easy way to do a Clock and Date Comments
No comments yet — be the first to post one!
Post a Comment