sysLib.formatDate
The datetime formatting function sysLib.formatDate formats a parameter into a date value and returns a character string. The default format is the current locale format.
- dateItem
- Identifies the item to be formatted; can be a result of a date expression, function, literal, or variable, including sysVar.currentDate.
- characterDateFormat
- Identifies the format for date. Predefined formats are provided in the sysLib constants isoTimeFormat, eurTimeFormat, jisTimeFormat, and usaTimeFormat.
Related reference
DATE
Datetime formatting (system words)
Formatting properties