Multiple choice technology programming languages

Which of the following describe the internal representation of a type D data?

  1. DDMMYYYY

  2. YYYYDDMM

  3. MMDDYYYY

  4. YYYYMMDD

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In SAP ABAP, type D (date) data is stored internally in YYYYMMDD format (8 characters). This format is unambiguous and allows for proper sorting and comparison. The other formats either put the day or month first, which would complicate date arithmetic and comparison operations.