DFTITLE - Output Format of Date in Standard Report Title

#### Search Results

Search

# DFTITLE - Output Format of Date in Standard Report Title

This Natural profile and session parameter determines the output format of the date in the default title line of a report page (as output with a `DISPLAY`, `WRITE` or `PRINT` statement).

Possible settings | `S` | The date is output with a 2-digit year component and delimiters. Example: `yy-mm-dd`
`L` | The date is output with a 4-digit year component and delimiters. Example: `yyyy-mm-dd`
`I` | The date is output with a 4-digit year component and no delimiters. Example: `yyyymmdd`
Default setting | `S`
Dynamic specification | yes
Specification within session | yes | Applicable statement: | `SET GLOBALS`
Applicable command: | `GLOBALS`
Application programming interface | `USR1005N` | See SYSEXT Utility - Natural Application Programming Interfaces in the Utilities documentation.

Notes:

1. Within a Natural session, the profile parameter `DFTITLE` can be overridden by the session parameter `DFTITLE`.
2. `DFTITLE` is evaluated at runtime and determines whether the date is displayed with a 2-digit or 4-digit year component with or without delimiters.
3. It has no effect on a user-defined page title (as specified with a `WRITE TITLE` statement).
4. The sequence of the day, month and year components and the delimiter characters used are determined by the profile parameter `DTFORM`.
5. See also Processing of Date Information and Date Format for Default Page Title - DFTITLE Parameter in the Programming Guide.