$SirTime: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
m (minor cleanup) |
||
Line 2: | Line 2: | ||
<span class="pageSubtitle">Current time as YYDDDHHMISSXX</span> | <span class="pageSubtitle">Current time as YYDDDHHMISSXX</span> | ||
<p class="warn"><b>Note: </b> | <p class="warn"><b>Note: </b>Many $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $SirTime function.</p> | ||
The <var>$SirTime</var> function returns the current time in YYDDDHHMISSXX format. This function is especially useful in conjunction with [[$SirJGet]] | The <var>$SirTime</var> function accepts no arguments and returns the current time in YYDDDHHMISSXX format. This function is especially useful in conjunction with <var>[[$SirJGet]]</var>. | ||
==Syntax== | ==Syntax== | ||
<p class="syntax"><span class="term">%time</span> = <span class="literal">$SirTime</span> | <p class="syntax"><span class="term">%time</span> = <span class="literal">$SirTime</span> | ||
</p> | </p> | ||
<p> | <p> | ||
<var class="term">%time</var> is set to the current time in YYDDDHHMISSXX format.</p> | Where <var class="term">%time</var> is a string that is set to the current time in YYDDDHHMISSXX format.</p> | ||
==Usage notes== | ==Usage notes== | ||
<ul> | <ul> | ||
<li>See the documentation of [[$Sir_Date]] for obtaining the current time in any format. | <li>See the documentation of <var>[[$Sir_Date]]</var> for obtaining the current time in any format. | ||
</ul> | </ul> | ||
Latest revision as of 23:38, 6 October 2015
Current time as YYDDDHHMISSXX
Note: Many $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $SirTime function.
The $SirTime function accepts no arguments and returns the current time in YYDDDHHMISSXX format. This function is especially useful in conjunction with $SirJGet.
Syntax
%time = $SirTime
Where %time is a string that is set to the current time in YYDDDHHMISSXX format.
Usage notes
- See the documentation of $Sir_Date for obtaining the current time in any format.