Difference between revisions of "ComputerDateTime"
Jump to navigation
Jump to search
(One intermediate revision by the same user 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 | + | 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 == | == 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.