In the following edit codes, x represents the character to be used as a delimiter between date values. It can be any special character, including blank, but not letters or numbers.
TD Displays dates in the format specified at the database requestor.
| TDYx | Year first | YYYYxMMxDD |
| TDMx | Month first | MMxDDxYYYY |
| TDDx | Day first | DDxMMxYYYY |
| TDYAx | Year first | YYxMMxDD |
| TDMAx | Month first | MMxDDxYY |
| TDDAx | Day first | DDxMMxYY |
The examples in Table 16, following, show the date July 17, 1989, formatted with various date edit codes.
| Edit Code | Format | Notes |
|---|---|---|
| TDD. | 17.07.1989 | European format |
| TDY- | 1989-07-17 | International Standards Organization (ISO) and Japanese Industrial Standard (JIS) formats |
| TDM/ | 07/17/1989 | USA format |
| TDD- | 17-07-1989 | Four-digit year, day first, delimiter: dash (-) |
| TDDA/ | 17/07/89 | Two-digit year, day first, delimiter: slash (/) |
| TDDA. | 17.07.89 | Two-digit year, day first, delimiter: period (.) |
| TDDA- | 17-07-89 | Two-digit year, day first, delimiter: dash (-) |
| TDDA | 17 07 89 | Two-digit year, day first, delimiter: blank ( ) |
| TDMA/ | 07/17/89 | Two-digit year, month first, delimiter: slash (/) |
| TDMA- | 07-17-89 | Two-digit year, month first, delimiter: dash (-) |
| TDYA/ | 89/07/17 | Two-digit year, year first, delimiter: slash (/) |