@DATE

Print Topic  Return to Overview  Previous Topic  Next Topic 

@DATE[date[,format]] : Returns the number of days since January 1, 1980 for the specified date. See date formats for information on acceptable date formats. Date must be between 1980-01-01 and 2099-12-31 (inclusive).

 

@DATE accepts an optional second parameter specifying the date format:

 

0default
1USA (mm/dd/yy)
2Europe (dd/mm/yy)
3Japan (yy/mm/dd)
4ISO (yyyy/mm/dd)

 

Examples:

 

echo %@date[01-01-2008]

echo %@date[%_date]

 

 

 

Topic "f_date.htm" last edited 4/26/2008. ©2008  JP Software, Inc.
Keywords: @DATE,Date Formats,Date