CurrentTimeString (System function): Difference between revisions
Jump to navigation
Jump to search
m (→See also) |
m (→See also) |
||
Line 13: | Line 13: | ||
==See also== | ==See also== | ||
<ul> | |||
<li>Related <var>System</var> methods: | |||
<ul> | <ul> | ||
<li><var>[[CurrentTimeMilliseconds (System function)|CurrentTimeMilliseconds]]</var> | <li><var>[[CurrentTimeMilliseconds (System function)|CurrentTimeMilliseconds]]</var> | ||
<li><var>[[CurrentTimeSeconds (System function)|CurrentTimeSeconds]]</var> | <li><var>[[CurrentTimeSeconds (System function)|CurrentTimeSeconds]]</var> | ||
<li><var>[[CurrentTimeDays (System function)|CurrentTimeDays ]]</var> | <li><var>[[CurrentTimeDays (System function)|CurrentTimeDays]]</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>[[TimeStringConvert (String_function)|TimeStringConvert]]</var> | |||
</ul> | |||
</ul> | </ul> | ||
{{Template:System:CurrentTimeString footer}} | {{Template:System:CurrentTimeString footer}} |
Revision as of 21:18, 10 July 2012
Current time as a string (System class)
[Introduced in Sirius Mods 7.8]
Syntax
%string = %(System):CurrentTimeString[( [format])] Throws InvalidDateString
Syntax terms
%string | The returned value is the current time; it is a string in the format specified by the format argument. |
---|---|
%(System) | The class name in parentheses denotes a shared method. CurrentTimeString can also be invoked via a System object variable, which may be null. |
format | A datetime format string. This argument is optional; the default is YY-MM-DD . |
See also
- Related System methods:
- Related intrinsic methods: