MillisecondsToString (Float function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Negative numbers work just fine.)
m (Same thing x 1000)
Line 21: Line 21:
<li><var>[[DaysToString (Float_function)|DaysToString]]</var>
<li><var>[[DaysToString (Float_function)|DaysToString]]</var>
<li><var>[[SecondsToString (Float_function)|SecondsToString]]</var>
<li><var>[[SecondsToString (Float_function)|SecondsToString]]</var>
<li><var>[[MillisecondsToString (Float_function)|MillisecondsToString]]</var>
<li><var>[[StringToDays (String_function)|StringToDays]]</var>
<li><var>[[StringToDays (String_function)|StringToDays]]</var>
<li><var>[[StringToMilliseconds (String_function)|StringToMilliseconds]]</var>
<li><var>[[StringToMilliseconds (String_function)|StringToMilliseconds]]</var>

Revision as of 20:48, 28 December 2015

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.

Syntax

%string = float:MillisecondsToString( format)

Syntax terms

%stringA variable to receive the formatted date/time string result of the MillisecondsToString method.
floatA Float value representing milliseconds since 1900. Range -4638816000000 - 255611289599999.
formatA valid date/time string format.

Examples

See the StringToMilliseconds example.

See also