DFOUT - Date Format for Output

This Natural profile and session parameter determines the format in which the settings of date variables are displayed by INPUT, DISPLAY, PRINT and WRITE statements.

Possible settings S Date variables are displayed with a 2-digit year component, and delimiters as determined by the profile parameter DTFORM.

Example:

yy−mm−dd

I Date variables are displayed with a full 4-digit year component and no delimiters.

Example:

yyyymmdd

Default setting S
Dynamic specification yes
Specification within session yes Applicable statements: SET GLOBALS
Applicable command: GLOBALS
Application programming interface USR1005N See SYSEXT - Natural Application Programming Interfaces in the Utilities documentation.

Notes:

  1. Within a Natural session, the profile parameter DFOUT can be overridden by the session parameter DFOUT.
  2. The profile parameter DFOUT is evaluated at runtime.
  3. It applies to date fields in INPUT, DISPLAY, PRINT and WRITE statements for which no explicit edit mask is specified and for which the session parameter DF is not set.
  4. The sequence of the day, month and year components in the date settings is determined by the DTFORM profile parameter.
  5. See also Processing of Date Information in the Programming Guide.