TIMFMT(format{separator})

The TIMFMT keyword allows the specification of an internal time format, and optionally the time separator, for any of these items of type Time: standalone field; data-structure subfield; prototyped parameter; or return value on a prototype or procedure-interface definition. This keyword will be automatically generated for an externally described data-structure subfield of type Time.

If TIMFMT is not specified, the Time field will have the time format and separator as specified by the current default time format for the module. The default fimt format for the module is initialially set using the TIMFMT keyword on a control statement. It can be temporarily set to a different value using the TIMFMT keyword on /SET and /RESTORE directives. The time format defaults to *ISO. See /SET.

Note: The TIMFMT keyword is not used in a free-form definition. Instead, the time format is specified as the parameter of the TIME keyword.

See Table 1 for valid formats and separators. For more information on internal formats, see Internal and External Formats.