该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


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:
Date DMY( 19, 5, 2011 );
Date MDY( 5, 19, 2011 );
The As Date() function takes the number of seconds and displays it as a date or duration.
As Date( 3388608000 );
As Date( 50000 );
a string, for example "Thursday, May 19, 2011"
As Date( 19May2011 + 1 );