DTFORM - Date Format

#### Search Results

Search

# DTFORM - Date Format

This Natural profile parameter indicates the default format in which dates are to be provided automatically by Natural as part of the default title on Natural reports, as date constants and date input.

Possible settings | Value | Area | Date Format
--- | --- | --- | ---
`E` | Europe | `DD/MM/YYYY`
`G` | Germany | `DD.MM.YYYY`
`I` | International | `YYYY-MM-DD`
`U` | USA | `MM/DD/YYYY`
Default setting | `I` |
Dynamic specification | yes |
Specification within session | no |
Application programming interface | `USR1005N` | See SYSEXT - Natural Application Programming Interfaces in the Utilities documentation.

Notes:

1. The first day of a week is assumed to be Monday - unless `DTFORM=U` is specified, in which case Sunday is used.
2. For date constants, the year component (`YYYY`) consists of all four digits. Only the last two digits of the year component are used for reports, date input, the Natural system function `VAL`, and when the date is moved to an alphanumeric field.
3. The output format of the date in a default report page title is also specified by the profile parameter `DFTITLE`.
4. See also Processing of Date Information and Default Edit Mask for Date - DTFORM Parameter in the Programming Guide.