@MAKEDATENot in LE
Print Topic  Return to Overview  Previous Topic  Next Topic 

@MAKEDATE[n[,d]]:  Returns a date, formatted according to the current country settings, or as explicitly specified by d (see Date Display Formats). n is interpreted as the number of days since 1980-01-01, and must be in the range 0 to 43829 (corresponding to the date 2099-12-31). This is function is the inverse of @DATE. The optional second parameter specifies the date format:

 

0system default        
1USA (mm/dd/yy)        
2European (dd/mm/yy)        
3Japan (yy/mm/dd)        
4ISO 9601 (yyyy-mm-dd)        

 

Examples:

 

echo %@makedate[7924]

echo %@makedate[7924,4]

 

Topic "f_makedate.htm" last edited 5/12/2008. ©2008  JP Software, Inc.
Keywords: @MAKEDATE