Today(); // returns 3388649872 on May 19, 2011 at 12:00:00 AM
As with Today(), the Date DMY() and Date MDY() functions also return month, day, and year arguments as seconds. For example, if it were 12:00:00 a.m. on May 19, 2011, all of the following statements would return the same value:
Today();
The As Date() function takes the number of seconds and displays it as a date or duration.
As Date( 3388608000 );
As Date( 50000 );
•
|
a literal value, for example 19May2011:10:10
|
•
|
a string, for example "Thursday, May 19, 2011"
|