+1 888 340 6572

CurrentTime s: Difference between revisions

From MultiCharts
m (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138)
No edit summary
 
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 ====
== Usage ==
<syntaxhighlight>CurrentTime_s</syntaxhighlight>
<syntaxhighlight>CurrentTime_s</syntaxhighlight>


==== Example ====
== Notes ==
<syntaxhighlight>CurrentTime_s  will return a value of 101525 for 10:15:25 AM
* 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.
CurrentTime_s  will return a value of 154500 for 3:45:00 PM</syntaxhighlight>


== 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]]

Latest revision as of 12:22, 19 February 2012

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.