Programmer Guide/Command Reference/TSET: Difference between revisions
From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import) |
No edit summary |
||
| Line 6: | Line 6: | ||
-> var = 'yyyy.mm.dd hh.mm.ss' | -> var = 'yyyy.mm.dd hh.mm.ss' | ||
Start or restart a | |||
Start or restart an {{STx}} timer. The <code>TSET</code> command will return a string of the format <code>yyyy.mm.dd hh.mm.ss</code>, indicating the current date and time, e.g. <code>1969.07.21 03.56.00</code>. | |||
{{STX|caps}} timers are implemented by calling the standard system time functions. They are incremented every second. For more accurate timers use an {{Stx}} [[Programmer_Guide/Shell_Items/Value|value item]]. | |||
Revision as of 14:28, 7 May 2014
TSET
var := TSET
-> var = 'yyyy.mm.dd hh.mm.ss'
Start or restart an STx timer. The TSET command will return a string of the format yyyy.mm.dd hh.mm.ss, indicating the current date and time, e.g. 1969.07.21 03.56.00.
STx timers are implemented by calling the standard system time functions. They are incremented every second. For more accurate timers use an STx value item.