Version 4.2.6 for Mainframes (Update)
 —  Parameter Reference  —

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.

The first day of a week is assumed to be Monday - unless DTFORM=U is specified, in which case Sunday is used.

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.

The output format of the date in a default report page title is also specified by the profile parameter DFTITLE.

See also Processing of Date Information and Default Edit Mask for Date - DTFORM Parameter in the Programming Guide.

Top of page