MillisecondsToString (Float function)

From m204wiki
Revision as of 21:04, 10 July 2012 by JAL2 (talk | contribs) (→‎See also)
Jump to navigation Jump to search

Convert milliseconds since 1900 to string date/time (Float class)

[Introduced in Sirius Mods 7.8]


The MillisecondsToString intrinsic function operates on a Float value representing milliseconds since 1900 and returns a formatted string representing that date/time.

Syntax

%string = float:MillisecondsToString( format)

Syntax terms

%stringA variable to receive the formatted date/time string result of the MillisecondsToString method.
floatA Float value representing milliseconds since 1900.
formatA valid date/time string format.

Examples

See the StringToMilliseconds example.

See also