MillisecondsToString (Float function)

From m204wiki
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.


%string = float:MillisecondsToString( format)

Syntax terms

%string A variable to receive the formatted date/time string result of the MillisecondsToString method.
float A Float value representing milliseconds since 1900. It must be in the range -4638816000000 to 255611289599999.
format A valid date/time string format.


See the StringToMilliseconds example.

See also