Seconds in Easy Language
Seconds in Easy Language
Is it possible to extract time in HH:MM:SS format (ie including seconds) in MultiCharts using easy language code in some way.
- TJ
- Posts: 7720
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1032 times
- Been thanked: 2216 times
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 :
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 :