SecondsToString (Float function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 11: Line 11:
<tr><th>format</th><td>A valid [[Datetime_string_formats|date/time string format]].</td></tr>
<tr><th>format</th><td>A valid [[Datetime_string_formats|date/time string format]].</td></tr>
</table>
</table>
==Usage notes==
<ul><li>The <var>SecondsToString</var> function is available as of <var class="product">[[Sirius Mods]]</var> Version 7.8</ul>


==Examples==
==Examples==

Revision as of 21:56, 7 February 2012

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.

Examples

See also

MillisecondsToString_(Float_function)

DaysToString_(Float_function)