defaultTimeFormat (build descriptor option)

The defaultTimeFormat build descriptor option controls the initial runtime value of the strLib.defaultTimeFormat system variable, which contains one of the masks that can be used to create the string returned by the strLib.formatTime system function. Other details depend on the target language:
  • When you are generating a COBOL program, if you do not specify the defaultTimeFormat build descriptor option, the default value for the strLib.defaultTimeFormat system variable is "HH:mm:ss".
  • When you are generating Java code, the defaultTimeFormat build descriptor option specifies the generated value for the vgj.default.timeFormat 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.defaultTimeFormat system variable.
  • When you are generating JavaScript code, the default value of defaultTimeFormat build descriptor option is HH:mm:ss.

For further details on system variables and functions, see the EGL Language Reference.