Click to See Complete Forum and Search --> : Getting Date and Time


February 27th, 2000, 06:30 AM
Does anyone knows how I can get the actual Date and Time.

thanks

sriky
February 27th, 2000, 02:25 PM
I don't know if this is what u want, but you can use the now() function.

for ex: label1.caption = now()


gives the current date and time

The Matrix
February 27th, 2000, 04:33 PM
'if you want to get the date just do this
Label1.Caption = Date
'if you want to get the time just do this
Label1.Caption = time
'if you want to get the time continuesly, put that code in a timer and set teh interval to 1