Click to See Complete Forum and Search --> : Showing the current Time
h3adbang3r
Sep 10th, 2002, 08:34 PM
anyone know how to show the current time?
Edneeis
Sep 10th, 2002, 09:18 PM
MsgBox(Now.ToShortTimeString)
MsgBox(Now.ToLongTimeString)
MsgBox(Now.TimeOfDay.ToString)
h3adbang3r
Sep 10th, 2002, 09:38 PM
thanks!
how do u update it every second?
so it would show it change every sec..
Edneeis
Sep 10th, 2002, 09:43 PM
Just use a timer and in the tick or whatever its event is called then update the time.
h3adbang3r
Sep 11th, 2002, 08:41 PM
Originally posted by Edneeis
Just use a timer and in the tick or whatever its event is called then update the time.
hmm.. didnt think of that :confused:
thanks again!
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.