$SirTime: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 11: Line 11:
<p class="syntax"><section begin="syntax" />%TIME = $SirTime
<p class="syntax"><section begin="syntax" />%TIME = $SirTime
<section end="syntax" /></p>
<section end="syntax" /></p>
<p class="caption">$SirTime Function
<p>
</p>
</p>
<p class="caption">%TIME is set to the current time in YYDDDHHMISSXX format.</p>
<p class="caption">%TIME is set to the current time in YYDDDHHMISSXX format.</p>

Revision as of 00:15, 26 October 2012

Current time as YYDDDHHMISSXX

Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $SirTime function.

The $SirTime function returns the current time in YYDDDHHMISSXX format. This function is especially useful in conjunction with $SirJGet.

$SirTime accepts no arguments and returns a string.

Syntax

<section begin="syntax" />%TIME = $SirTime <section end="syntax" />

%TIME is set to the current time in YYDDDHHMISSXX format.

Notes:See the documentation of $Sir_Date for obtaining the current time in any format.

Products authorizing $SirTime