Programmer Guide/Command Reference/TSET: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
==TSET==
<var>var</var> := TSET
Start or restart the {{STx}} timer. The <code>TSET</code> command will return a string of the format <code>yyyy.mm.dd hh.mm.ss</code>, indicating the start date and time of the timer, e.g. <code>1969.07.21 03.56.00</code>.


<code><var>var</var> := TSET</code>
The {{STX}} timer is implemented via the standard operating system time functions. The timer gets incremented every second. For more accurate timers use an {{Stx}} [[Programmer_Guide/Shell_Items/Value|value item]].
 
-> var = 'yyyy.mm.dd hh.mm.ss'
 
 
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:35, 7 May 2014

var := TSET

Start or restart the STx timer. The TSET command will return a string of the format yyyy.mm.dd hh.mm.ss, indicating the start date and time of the timer, e.g. 1969.07.21 03.56.00.

The STx timer is implemented via the standard operating system time functions. The timer gets incremented every second. For more accurate timers use an STx value item.

Navigation menu

Personal tools