×

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

Changes

Jump to navigation Jump to search

CurrentTime

239 bytes added, 12:23, 19 February 2012
no edit summary
Returns a numerical value, indicating the computer's current time. The time is indicated in the 24-hour ''HHmm '' format, where 1300 = 1:00 PM. ==== Usage ====[[CurrentTime]] ==== Example ====[[CurrentTime]] will return a value of 1015 for 10:15 AM  [[CurrentTime]] will return a value of 1545 for 3:45 PM
== Usage ==
<syntaxhighlight>CurrentTime</syntaxhighlight>
== Notes ==
* Use [[CurrentTime_s]] to get the computer's current time with seconds precision.
* Use [[Time]] and [[Time_s]] to get the time of the bar with respectively minutes and seconds precision.
== Example ==
<syntaxhighlight>CurrentTime</syntaxhighlight>
* Will return a value of 1015 for 10:15 AM,
* Will return a value of 1545 for 3:45 PM.
[[Category:Date and Time Routines]]

Navigation menu