×

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

Time s

381 bytes added, 15:59, 28 February 2012
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 ====
<syntaxhighlight>Time_s</syntaxhighlight>
==== Example ==Notes ==<syntaxhighlight>Time_s will return a value of 101525 for 10* See the category [[:15Category:25 AM Date_and_Time_Routines|Date and Time Routines]] for working with time in PowerLanguage.* Use [[Time]] to get the time of the bar with minute precision.Time_s will return a value * Use [[CurrentTime]] and [[CurrentTime_s]] to get the ''computer time'' with respectively minutes and seconds precision.* The range of 154500 for 3:45:00 PM</syntaxhighlight> returned values is limited by the [[MaxBarsBack]] setting.
== Examples ==
<syntaxhighlight>Time_s</syntaxhighlight>
* Will return a value of 101525 for 10:15:25 AM,
* Will return a value of 154500 for 3:45:00 PM.
[[Category:Data Information/General]]