Difference between revisions of "TimeToString ms"

From MultiCharts
Jump to navigation Jump to search
(Created blank page)
 
 
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]]

Latest revision as of 17:39, 6 November 2019

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

 TimeToString_ms(DateTime)

Where: DateTime - a double-precision decimal DateTime value to be converted to a string expression representing the time

Example

 TimeToString_ms(39448.7501) will return the string "18:00:08.640"