CurrentTime s: Difference between revisions
From MultiCharts
no edit summary
No edit summary |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
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. | 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 == | |||
<syntaxhighlight>CurrentTime_s</syntaxhighlight> | |||
<syntaxhighlight> | |||
== 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 == | |||
<syntaxhighlight>CurrentTime_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:Date and Time Routines]] | [[Category:Date and Time Routines]] |