SAP DATE TIME OVIEW



Get Example source ABAP code based on a different SAP table
  



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 specification for a calendar that is exact to a day, week, or month. AS ABAP always implicitly references the Gregorian calendar that is valid virtually worldwide. 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 a time of day specification that is exact to a 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. Time specifications are generally interpreted as local times that are valid in the current time zone.
A time stamp specifies a combined date and time that is exact to fractions of seconds or seconds with respect to a reference time. AS ABAP always implicitly references the UTC reference time. The time stamp can be transformed to a local date and local time using statements and functions for which 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 established by a set of time zone rules, which are stored in database tables. These rules also respect daylight saving time.
Rules for Time Zones
System Time Zone and User Time Zone