$SirTime: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 2: Line 2:
<span class="pageSubtitle">Current time as YYDDDHHMISSXX</span>
<span class="pageSubtitle">Current time as YYDDDHHMISSXX</span>


<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $SirTime function.</p>
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the <var>$SirTime</var> function.</p>


The $SirTime function returns the current time in YYDDDHHMISSXX format. This function is especially useful in conjunction with [[$SirJGet]].  
The <var>$SirTime</var> function returns the current time in YYDDDHHMISSXX format. This function is especially useful in conjunction with [[$SirJGet]].  


<var>$SirTime</var> accepts no arguments and returns a string.
<var>$SirTime</var> accepts no arguments and returns a string.

Revision as of 01:28, 19 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