SecondsToString (Float function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 16: Line 16:


==See also==
==See also==
<ul>
<li>Related intrinsic methods:
<ul>
<ul>
<li><var>[[DaysToString (Float_function)|DaysToString]]</var>
<li><var>[[DaysToString (Float_function)|DaysToString]]</var>
Line 24: Line 26:
<li><var>[[TimeStringConvert (String_function)|TimeStringConvert]]</var>
<li><var>[[TimeStringConvert (String_function)|TimeStringConvert]]</var>
</ul>
</ul>
 
<li>Related <var>System</var> methods:
<ul>
<li><var>[[CurrentTimeMilliseconds (System function)|CurrentTimeMilliseconds]]</var>
<li><var>[[CurrentTimeSeconds (System function)|CurrentTimeSeconds]]</var>
<li><var>[[CurrentTimeDays (System function)|CurrentTimeDays ]]</var>
<li><var>[[CurrentTimeString (System function)|CurrentTimeString ]]</var>
</ul>
</ul>
{{Template:Float:SecondsToString footer}}
{{Template:Float:SecondsToString footer}}

Revision as of 21:05, 10 July 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 the StringToSeconds example.

See also