CurrentTimeString (System function)

From m204wiki
Revision as of 00:26, 16 February 2014 by JALWiccan (talk | contribs) (Automatically generated page update)
Jump to navigation Jump to search

Current time as a string (System class)

[Introduced in Sirius Mods 7.8]


Syntax

%string = %(System):CurrentTimeString[( [format])] Throws InvalidDateString

Syntax terms

%stringThe 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