HTBasic Help
×
Menu
Index

TIME

Converts a time-of-day string to seconds after midnight.
 
 TIME( string-expression )
 
Usage:
Seconds=TIME(Clock$)
SET TIME TIME("3:56:30")
ON TIME TIME("17:00") RECOVER Athome
Example: TIME.BAS
Description:
A string expression in the form HH:MM[:SS] is converted into an equivalent number of seconds past midnight in the range 0 through 86,399. Leading blanks and non-numeric characters are ignored.
See Also: