$SirTime: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 9: Line 9:


==Syntax==
==Syntax==
<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 class="caption">$SirTime Function

Revision as of 20:32, 24 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" />

$SirTime Function

%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