Time s2Time: Difference between revisions
From MultiCharts
m (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138) |
|||
Line 3: | Line 3: | ||
The time is returned in the 24-hour HHmm format, where 1300 = 1:00 PM, and specified in the 24-hour HHmmss format, where 130000 = 1:00:00 PM. | The time is returned in the 24-hour HHmm format, where 1300 = 1:00 PM, and specified in the 24-hour HHmmss format, where 130000 = 1:00:00 PM. | ||
==== Usage ==== | |||
<syntaxhighlight>Time_s2Time(HHmmss)</syntaxhighlight> | |||
Where: [[HHmmss]] - a numerical expression specifying the time | |||
==== Example ==== | |||
<syntaxhighlight>Time_s2Time(101520) will return a value of 1015 | |||
Time_s2Time(154548) will return a value of 1545</syntaxhighlight> | |||
[[Category:Date and Time Routines]] |
Latest revision as of 12:39, 13 February 2012
Returns a numerical value indicating the time in the HHmm format, corresponding to the specified time in the HHmmss format; the seconds are truncated.
The time is returned in the 24-hour HHmm format, where 1300 = 1:00 PM, and specified in the 24-hour HHmmss format, where 130000 = 1:00:00 PM.
Usage
Time_s2Time(HHmmss)
Where: HHmmss - a numerical expression specifying the time
Example
Time_s2Time(101520) will return a value of 1015
Time_s2Time(154548) will return a value of 1545