ComputerDateTime: Difference between revisions
From MultiCharts
no edit summary
m (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138) |
No edit summary |
||
(3 intermediate revisions by 3 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 == | |||
<syntaxhighlight>ComputerDateTime</syntaxhighlight> | <syntaxhighlight>ComputerDateTime</syntaxhighlight> | ||
== | == Notes == | ||
* ComputerDateTime = [[ELTimeToDateTime]]([[CurrentTime]]) + [[ELDateToDateTime]]([[CurrentDate]]). | |||
== Example == | |||
<syntaxhighlight>ComputerDateTime</syntaxhighlight> | |||
Will return a value of 39448.25000000 for 6:00 AM on January 1st, 2008. | |||
[[Category:Date and Time Routines]] | [[Category:Date and Time Routines]] |