CurrentTimeDays (System function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:System:CurrentTimeDays subtitle}}
{{Template:System:CurrentTimeDays subtitle}}
==Syntax==
==Syntax==
{{Template:System:CurrentTimeDays syntax}}
{{Template:System:CurrentTimeDays syntax}}
Line 6: Line 5:
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%number</th><td>A numeric variable to receive the current time, expressed as the number of days since January 1, 1900.</td></tr>
<tr><th>%number</th><td>A numeric variable to receive the current time, expressed as the number of days since January 1, 1900.</td></tr>
<tr><th><var>%(System)</var></th>
<tr><th><var class="nobr">%(System)</var></th>
<td>The class name in parentheses denotes a [[Notation conventions for methods#Shared methods|shared]] method. <var>CurrentTimeDays</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>CurrentTimeDays</var> can also be invoked via a <var>System</var> object variable, which may be null.</td></tr>
</table>
</table>
Line 25: Line 24:
<li><var>[[StringToDays (String_function)|StringToDays]]</var>
<li><var>[[StringToDays (String_function)|StringToDays]]</var>
<li><var>[[StringToSeconds (String_function)|StringToSeconds]]</var>
<li><var>[[StringToSeconds (String_function)|StringToSeconds]]</var>
<li><var>[[StringToMilliseconds (String_function)|StringToMilliseconds]]</var>
<li><var>[[TimeStringConvert (String_function)|TimeStringConvert]]</var>
<li><var>[[TimeStringConvert (String_function)|TimeStringConvert]]</var>
</ul>
</ul>

Latest revision as of 19:09, 3 September 2015

Current time in days (System class)

[Introduced in Sirius Mods 7.8]

Syntax

%number = %(System):CurrentTimeDays

Syntax terms

%numberA numeric variable to receive the current time, expressed as the number of days since January 1, 1900.
%(System) The class name in parentheses denotes a shared method. CurrentTimeDays can also be invoked via a System object variable, which may be null.

See also