$SirTime: Difference between revisions
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" />
Notes:See the documentation of $Sir_Date for obtaining the current time in any format.