Command Reference : String and Date Function Reference
  
 
@datestr
Syntax: @datestr(d[, fmt])
Argument 1: date number, d
Argument 2: date format string, fmt
Return: string
Convert the numeric date value, d, into a string representation of a date, str, using the optional format string fmt.
Example:
@datestr(730088,"mm/dd/yy")
will return “12/1/99”,
@datestr(730088,"DD/mm/yyyy")
will return “01/12/1999”, and
@datestr(730088,"Month dd, yyyy")
will return “December 1, 1999”, and
@datestr(730088,"w")
will produce the string “3”, representing the weekday number for December 1, 1999. See “Dates” and “Date Formats”for additional details on date numbers and date format strings. See also @strdate.