CurrentTimeString (System function): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→Syntax terms) |
||
Line 8: | Line 8: | ||
<tr><th>%(System)</th> | <tr><th>%(System)</th> | ||
<td>The class name in parentheses denotes a shared method. <var>CurrentTimeString</var> can also be invoked via a <var>[[System object]]</var> variable, which may be null.</td></tr> | <td>The class name in parentheses denotes a shared method. <var>CurrentTimeString</var> can also be invoked via a <var>[[System object]]</var> variable, which may be null.</td></tr> | ||
<tr><th> | <tr><th>format</th> | ||
<td><var> | <td><var></var>A [[Datetime string formats|datetime format]] string.</td></tr> | ||
</table> | </table> | ||
Revision as of 16:25, 19 March 2011
Current time as a string (System class)
[Introduced in Sirius Mods 7.8]
Syntax
%string = %(System):CurrentTimeString[( [format])] Throws InvalidDateString
Syntax terms
%string | string |
---|---|
%(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. |