Newer Version Available
toString()
Converts a date to a string.
Syntax
toString(date,
formatString)
For the allowed formats, see Date Formats.
Usage
This function must take a toDate() or now() function as its first argument.