FORMAT-DATE

Convert Date to text in a particular format

Syntax

FORMAT-DATE (value, format)

Example

format-date(today(), 'yyyy-MMM-dd')

Notes

Returns the date value of the field formatted as defined by the format argument. 
The format argument must be a valid .NET date format string.  Typical format specifiers include: 
yy    - 2 digit year 
yyyy - 4 digit year 
MM  - 2 digit month 
MMM - 3 character abbreviated month 
dd - 2 digit day

There are other format specifiers available

Related

DATE