|
To get the current time, use the TIME$ command.
The above example returns "military" time. See the following figure:
hours 01-11 = a.m. hours 12-23 = p.m. You can also use TIME$ to set the time.
Date To find out the current date, use the DATE$ function.
Like TIME$, you can also set the date.
TIMER Use TIMER to get the number of seconds since midnight.
Feel free to distribute this tutorial, upload it to your website, link to it from your site, etc. http://www.geocities.com/progsharehouse/qbtutor Mirror: http://development.freeservers.com/qbtutor |