Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Processing Internal Data →  Date and Time Processing 

Date, Time, Time Stamp, and Time Zones

Dates, times, and time stamps specify times with varying levels of precision.

  • A date (or calendar date) is a time specified to a precise day, week, or month with respect to a calendar. AS ABAP always references implicitly the Gregorian calendar valid across most of the world. Output can be converted to country-specific calendars. Dates are generally interpreted as local dates that are valid in the current time zone.
  • A time is specified to a precise second or minute with respect to a day. AS ABAP always saves times in 24-hour format. The output can have a country-specific format. Times are generally interpreted as local times that are valid in the current time zone.
  • A time stamp specifies a combined date and time to a precise number of fractions of seconds or seconds, and with respect to a reference time. AS ABAP always references implicitly the UTC reference time. The time stamp can be transformed to a local date and local time, using statement and functions where the required time zone is specified.

The relationship between the local date and local time on the one hand, and global UTC time stamps on the other, is governed by a set of time zone rules. These rules are stored in database tables. These rules also respect summer time.

Other versions: 7.31 | 7.40 | 7.54

Continue

Rules for Time Zones

System Time Zone and User Time Zone