ComputerDateTime: Difference between revisions
From MultiCharts
No edit summary |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Returns a double-precision decimal DateTime value indicating the computer's current date and time. | Returns a double-precision decimal DateTime value indicating the computer's current date and time. | ||
The integer portion of the DateTime value indicates the number of days that have elapsed since December 30th, 1899, and the fractional portion of the DateTime value indicates the fraction of the day that has passed since midnight. | |||
The integer portion of the DateTime value indicates the number of days that have elapsed since | |||
== Usage == | == Usage == |
Latest revision as of 17:44, 15 February 2023
Returns a double-precision decimal DateTime value indicating the computer's current date and time. The integer portion of the DateTime value indicates the number of days that have elapsed since December 30th, 1899, and the fractional portion of the DateTime value indicates the fraction of the day that has passed since midnight.
Usage
ComputerDateTime
Notes
- ComputerDateTime = ELTimeToDateTime(CurrentTime) + ELDateToDateTime(CurrentDate).
Example
ComputerDateTime
Will return a value of 39448.25000000 for 6:00 AM on January 1st, 2008.