The
defaultDateFormat build descriptor
option controls the initial runtime value of the
strLib.defaultDateFormat system
variable, which contains one of the masks that can be used to create
the string returned by the
strLib.formatDate system
function. Other details depend on the target language:
- When you are generating a COBOL program, if you do not specify
the defaultDateFormat build descriptor option,
the default value for the strLib.defaultDateFormat system
variable is set by the "Long Gregorian date format" specified in the
language-dependent options module specified for your runtime installation.
For z/OS®, refer to the program
directory for your runtime product for details.
- When you are generating Java™ code,
the defaultDateFormat build descriptor option
specifies the generated value for the vgj.default.dateFormat Java runtime property (if you have
set the genProperties build descriptor option
to GLOBAL or PROGRAM). That property then sets the initial runtime
value of the strLib.defaultDateFormat system
variable.
- When you are generating JavaScript™ code,
the default value of the defaultDateFormat build
descriptor option is MM/dd/yyyy.
For further details on system variables and functions, see the EGL
Language Reference.