ABAP Keyword Documentation →  ABAP − Reference →  Program Parameters →  Language Environment →  Formatting Settings →  Country-Specific Formats → 

Date Formats

The date format is specified by column DATFM, where "mm", "dd", and "yyyy" stand for day, month, and year. The following country-specific formats are available:

DATFM Date Format
"1" dd.mm.yyyy
"2" mm/dd/yyyy
"3" mm-dd-yyyy
"4" yyyy.mm.dd
"5" yyyy/mm/dd
"6" yyyy-mm-dd
"7" ggyy.mm.dd, Japanese date
"8" ggyy/mm/dd, Japanese date
"9" ggyy-mm-dd, Japanese date
"A" yyyy/mm/dd, Islamic date 1
"B" yyyy/mm/dd, Islamic date 2
"C" yyyy/mm/dd, Iranian date

Example

To see the display of the current date in all possible formats, see the respective example with character string templates.