+1 888 340 6572

TimeToString ms: Difference between revisions

From MultiCharts
(Created blank page)
 
No edit summary
 
Line 1: Line 1:
Returns a string expression corresponding to the time (fractional) portion of the specified DateTime value with millisecond precision.


The integer portion of the DateTime value specifies the number of days since January 1st, 1900, and the fractional portion of the DateTime value specifies the fraction of the day since midnight.
====Usage====
<syntaxhighlight> TimeToString_ms(DateTime) </syntaxhighlight>
Where: [[DateTime]] - a double-precision decimal DateTime value to be converted to a string expression representing the time
====Example====
<syntaxhighlight> TimeToString_ms(39448.7501) will return the string "18:00:08.640" </syntaxhighlight>
[[Category:Date and Time Routines]]