×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts
Open main menu

Changes

DateTime2ELTime

643 bytes added, 10:59, 19 January 2012
Created page with "Returns a numerical value indicating the time from the specified DateTime value. The time is indicated in the 24-hour HHmm format, where 1300 = 1:00 PM. The integer portion ..."
Returns a numerical value indicating the time from the specified DateTime value. The time is indicated in the 24-hour HHmm format, where 1300 = 1:00 PM.

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 ====
[[DateTime2ELTime(DateTime)]]

Where: [[DateTime]] - a double-precision decimal DateTime value

==== Example ====
<syntaxhighlight>DateTime2ELTime(39449.65625000)</syntaxhighlight> will return a value of 1545, indicating 3:45 PM




[[Category:Date and Time Routines]]
Anonymous user