CurrentTimeSeconds (System function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:System:CurrentTimeSeconds subtitle}}
{{Template:System:CurrentTimeSeconds subtitle}}
==Syntax==
==Syntax==
{{Template:System:CurrentTimeSeconds syntax}}
{{Template:System:CurrentTimeSeconds syntax}}
Line 6: Line 5:
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%number</th><td>A numeric variable to receive the current time, since 12 AM, January 1, 1900, in seconds.</td></tr>
<tr><th>%number</th><td>A numeric variable to receive the current time, since 12 AM, January 1, 1900, in seconds.</td></tr>
<tr><th>%(System)</th>
<tr><th><var class="nobr">%(System)</var></th>
<td>The class name in parentheses denotes a shared method. <var>CurrentTimeSeconds</var> can also be invoked via a <var>System</var> object variable, which may be null.</td></tr>
<td>The class name in parentheses denotes a [[Notation conventions for methods#Shared methods|shared]] method. <var>CurrentTimeSeconds</var> can also be invoked via a <var>System</var> object variable, which may be null.</td></tr>
</table>
</table>


==Usage notes==
==See also==
 
<ul>
==Examples==
<li>Related <var>System</var> methods:
<ul>
<li><var>[[CurrentTimeMilliseconds (System function)|CurrentTimeMilliseconds]]</var>
<li><var>[[CurrentTimeDays (System function)|CurrentTimeDays ]]</var>
<li><var>[[CurrentTimeString (System function)|CurrentTimeString ]]</var>
</ul>
<li>Related intrinsic methods:
<ul>
<li><var>[[DaysToString (Float_function)|DaysToString]]</var>
<li><var>[[MillisecondsToString (Float_function)|MillisecondsToString]]</var>
<li><var>[[SecondsToString (Float_function)|SecondsToString]]</var>
<li><var>[[StringToDays (String_function)|StringToDays]]</var>
<li><var>[[StringToSeconds (String_function)|StringToSeconds]]</var>
<li><var>[[StringToMilliseconds (String_function)|StringToMilliseconds]]</var>
<li><var>[[TimeStringConvert (String_function)|TimeStringConvert]]</var>
</ul>
</ul>


==See also==
<ul><li><var>CurrentTimeSeconds</var> is the same as <var>[[$Sir_DateNS]]</var>.</ul>
{{Template:System:CurrentTimeSeconds footer}}
{{Template:System:CurrentTimeSeconds footer}}

Latest revision as of 19:13, 3 September 2015

Current time in seconds (System class)

[Introduced in Sirius Mods 7.8]

Syntax

%number = %(System):CurrentTimeSeconds

Syntax terms

%numberA numeric variable to receive the current time, since 12 AM, January 1, 1900, in seconds.
%(System) The class name in parentheses denotes a shared method. CurrentTimeSeconds can also be invoked via a System object variable, which may be null.

See also