DateTime2ELTime s: Difference between revisions
From MultiCharts
no edit summary
No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
Returns a numerical value indicating the time, including seconds, from the specified DateTime value. The time is indicated in the 24-hour ''HHmmss'' format, where 130000 = 1:00:00 PM. | Returns a numerical value indicating the time, including seconds, from the specified DateTime value. The time is indicated in the 24-hour ''HHmmss'' format, where 130000 = 1:00:00 PM. | ||
The integer portion of the DateTime value specifies the number of days since | The integer portion of the DateTime value specifies the number of days since December 30th, 1899, and the fractional portion of the DateTime value specifies the fraction of the day since midnight. | ||
== Usage == | == Usage == | ||
Line 12: | Line 12: | ||
== Notes == | == Notes == | ||
* Use [[ELTimeToDateTime_s]] or [[ELTimeToDateTime]] to convert a DateTime value to PowerLanguage's default time format of 130000 for 1:00:00 PM. | * Use [[ELTimeToDateTime_s]] or [[ELTimeToDateTime]] to convert a DateTime value to PowerLanguage's default time format of 130000 for 1:00:00 PM. | ||
* Use [[DateTime2ELTime]] to convert a PowerLanguage time to a DateTime value ''without'' seconds precision. | |||
== Example == | == Example == |