|
-
Nov 3rd, 2001, 01:48 AM
#1
Thread Starter
New Member
How can i get system time?
I'm tring to make a TV Schedule program and i was wondering if anybody know how to get the system date and time and then check it against a list of dates and times.
-
Nov 3rd, 2001, 09:18 AM
#2
Hyperactive Member
What I always do is:
If I want to know a date. I simply declare a date var.
Dim varname as Date
and then
varname = Date
varname contains now the date
For the time:
Dim hours as long, minutes as long, seconds as long
hours = hour(now)
minutes = minute(now)
seconds = second(now).
I don't know If this is what you meant. Otherwise, explain and I'll try again.
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
|