SecondsToString (Float function)

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

[Introduced in Sirius Mods 7.8]


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

Syntax

%string = float:SecondsToString( format)

Syntax terms

%stringA variable to receive the formatted date/time string result of the SecondsToString method.
floatA Float value representing seconds since 1900. It must be in the range -4638816000 to 255611289599.
formatA valid date/time string format.

Examples

See the StringToSeconds example.

See also