$SirTime: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 6: Line 6:
The $SirTime function returns the current time in YYDDDHHMISSXX format. This function is especially useful in conjunction with [[$SirJGet]].  
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.
<var>$SirTime</var> accepts no arguments and returns a string.


==Syntax==
==Syntax==

Revision as of 23:44, 18 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