Date and time functions read the system time and convert time values in seconds to the familiar human readable forms and vice versa.
Operator
Meaning
Example
Result
DATE
String to seconds
DATE("1 JAN 1980")
2.11182336E+11
DATE$
Seconds to string
DATE$(2.11182336E+11)
"1 JAN 1980"
TIME
String to seconds
TIME("01:00:00")
3600
TIME$
Seconds to string
TIME$(2.11182336E+11)
"00:00:00"
TIMEDATE
Present time/date
TIMEDATE
seconds
Environment functions return information about the HTBasic environment. The SYSTEM$ function, particularly, provides a wealth of information and is explained in detail later in this section.