TIME

From Smart Box
Jump to navigation Jump to search

Syntax[edit]

TIME Hours:Minutes:Seconds:Centiseconds

Description[edit]

The TIME keyword can be used either to set the internal clock to a certain time or to read the current time. A time value begins with a colon. When setting the time include all values from the unit you are setting down to the centiseconds. For example, to set the clock to a value of 1 minute type :1:00:00 (1 minute, zero seconds, zero centiseconds)

Examples[edit]

Print the current time

PRINT TIME

Set the time to 10 seconds

LET TIME = :10:0

Associated keywords[edit]