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.
Printable View
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.
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.