+1 888 340 6572

MillisecondsFromDateTime: Difference between revisions

From MultiCharts
(Created page with "Returns a numerical expression indicating the millisecond stamp of the bar. == Usage == <syntaxhighlight> MillisecondsFromDateTime(DT); </syntaxhighlight> Where DT is a Date...")
 
No edit summary
 
Line 9: Line 9:
== Example ==
== Example ==
<syntaxhighlight>
<syntaxhighlight>
MillisecondsFromDateTime(DateTtime);  
MillisecondsFromDateTime(DateTime);  
</syntaxhighlight>
</syntaxhighlight>
will return 687.00 if the time stamp of the current bar is 11:57:07.687
will return 687.00 if the time stamp of the current bar is 11:57:07.687

Latest revision as of 16:16, 20 May 2014

Returns a numerical expression indicating the millisecond stamp of the bar.

Usage

MillisecondsFromDateTime(DT);

Where DT is a DateTime value.

Example

MillisecondsFromDateTime(DateTime);

will return 687.00 if the time stamp of the current bar is 11:57:07.687