SAP TIME SYSTEM FIELDS

Get Example source ABAP code based on a different SAP table
  


ARTICLE

System Fields for Date and Time
The following table shows the system fields that contain information about date and time. System FieldTypeLengthContentGET TIME
sy-datlod-User date X
sy-datumd-System date X
sy-daystc1Flag for summer time in the system time zone. During summer time, 'X', otherwise ' '.-
sy-fdaywb-Factory calendar weekday in the system time zone. '1' for Monday, ..., '5' for Friday.-
sy-timlot-User timeX
sy-tzonei-Time difference between the system time and UTC reference time in seconds, ignoring summer time.-
sy-uzeitt-System TimeX
sy-zonloc6User time zone -
The values of all system fields in this table are implicitly set when the program is started, every time a screen layout of a screen is sent, and when the internal mode is set. The last column of the table shows which of the system fields can be updated explicitly using the statement GET TIME.
The content of sy-zonlo is the user time zone described under System Time Zone and User Time Zone. The local values of sy-datlo and sy-timlo that make reference to the user time zone are determined from the system time and the system date.