SecondsToString (Float function)

From m204wiki
Revision as of 22:39, 29 March 2011 by John (talk | contribs) (→‎See also)
Jump to navigation Jump to search

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.
formatA valid date/time string format.

Usage notes

  • The SecondsToString function is available as of Sirius Mods Version 7.8

Examples

See also

MillisecondsToString_(Float_function)

DaysToString_(Float_function)