×

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.

DateTime2ELTime s - MultiCharts
Open main menu

Returns a numerical value indicating the time, including seconds, from the specified DateTime value. The time is indicated in the 24-hour HHmmss format, where 130000 = 1:00:00 PM.

The integer portion of the DateTime value specifies the number of days since December 30th, 1899, and the fractional portion of the DateTime value specifies the fraction of the day since midnight.

Usage

DateTime2ELTime_s (DateTime)

Where:

DateTime - a double-precision decimal DateTime value.

Notes

Example

DateTime2ELTime_s(39449.646354167)

Will return a value of 153045, indicating 3:30:45 PM.