Page 1 of 1

Seconds in Easy Language

Posted: 20 Feb 2008
by johnchan
Is it possible to extract time in HH:MM:SS format (ie including seconds) in MultiCharts using easy language code in some way.

Posted: 30 Mar 2008
by TJ
Time_s

Returns a numerical value indicating the closing time, including seconds, of the current bar. The time is indicated in the 24-hour HHmmss format, where 130000 = 1:00:00 PM.

Usage

Time_s

Examples

Time_s will return a value of 101525 for 10:15:25 AM
Time_s will return a value of 154500 for 3:45:00 PM


if you need it in string format, simply do a string conversion and add the :