×

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.

CurrentTime s - MultiCharts
Open main menu

CurrentTime s

Revision as of 12:22, 19 February 2012 by JoshM (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Usage

CurrentTime_s

Notes

  • Use CurrentTime to get the computer's current time with minutes precision.
  • Use Time and Time_s to get the time of the bar with respectively minutes and seconds precision.

Example

CurrentTime_s
  • Will return a value of 101525 for 10:15:25 AM,
  • Will return a value of 154500 for 3:45:00 PM.