Difference between revisions of "ComputerDateTime"
Jump to navigation
Jump to search
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. |
Revision as of 12:02, 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.