|
-
February 27th, 2000, 07:30 AM
#1
Getting Date and Time
Does anyone knows how I can get the actual Date and Time.
thanks
-
February 27th, 2000, 03:25 PM
#2
Re: Getting Date and Time
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
-
February 27th, 2000, 05:33 PM
#3
Re: Getting Date and Time
'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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|