Command Reference : String and Date Function Reference
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.
will return “12/1/99”,
will return “01/12/1999”, and
@datestr(730088,"Month dd, yyyy")
will return “December 1, 1999”, and
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.