The strLib.formatDate() system
function formats
a DATE value and returns a STRING value. EGL tries the following formats
for
the conversion, in order. If a particular format is null, empty, or
not valid,
EGL moves to the next:
The format string provided as a parameter
strLib.defaultDateFormat
The
date format in the Java™ locale object (Java only)
A STRING variable.
If either parameter has a null value, the function
returns a null value.
Example
myDate DATE = "20060606";
myFormat STRING = "EEE, MMM d, ''yy";
result STRING;
result = strLib.formatDate(myDate,myFormat);
// result is "Tue, Jun 6, '06"