time$ - time of day
returns the current time-of-day
in an eight-character string of the form "hh:mm:ss",
where hh represents two digits for the hour on a 24-hour clock,
mm represents two digits for the minutes, and ss represents
two digits for the seconds.
Assuming that the time is now thirty-four seconds past five
fifty-nine in the afternoon, the program
produces the output
may be used only to read the time, not to set it.
The Basmark QuickBASIC Programmerís Manual