Difference between revisions of "CurrentTime s"

From MultiCharts
Jump to navigation Jump to search
(Created page with "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. ==== Usa...")
 
 
(6 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 ====
+
== Usage ==
[[CurrentTime_s]]
+
<syntaxhighlight>CurrentTime_s</syntaxhighlight>
 
==== Example ====
 
[[CurrentTime_s]]  will return a value of 101525 for 10:15:25 AM
 
  
[[CurrentTime_s]] will return a value of 154500 for 3:45:00 PM
+
== 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]]

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.