MillisecondsToString (Float function): Difference between revisions
Jump to navigation
Jump to search
m (→See also) |
m (Negative numbers work just fine.) |
||
Line 8: | Line 8: | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>%string</th><td>A variable to receive the formatted [[Datetime_string_formats|date/time string]] result of the <var>MillisecondsToString</var> method.</td></tr> | <tr><th>%string</th><td>A variable to receive the formatted [[Datetime_string_formats|date/time string]] result of the <var>MillisecondsToString</var> method.</td></tr> | ||
<tr><th>float</th><td>A <var>Float</var> value representing milliseconds since 1900.</td></tr> | <tr><th>float</th><td>A <var>Float</var> value representing milliseconds since 1900. Range -4638816000000 - 255611289599999.</td></tr> | ||
<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> |
Revision as of 20:43, 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
%string | A variable to receive the formatted date/time string result of the MillisecondsToString method. |
---|---|
float | A Float value representing milliseconds since 1900. Range -4638816000000 - 255611289599999. |
format | A valid date/time string format. |
Examples
See the StringToMilliseconds example.
See also
- Related intrinsic methods (provide conversion from one form of date representation to another):
- Related System methods: