Sunday, April 21, 2013

System Fields for Current Date and Time



The following system fields are always set automatically. 

The GET TIME statement synchronizes the time on the application server with the time on the database server and writes it to the field SY-UZEIT. SY-DATUM and the system fields for the local timezone (SY-TIMLO, SY-DATLO, and SY-ZONLO) are also reset.

SY-DATLO
User’s local date, for example 19981129, 19990628, …

SY-DATUM
Current application server date, for example 19981130, 19990627, …

SY-DAYST
X during summertime, otherwise space.

SY-FDAYW
Factory calendar day of the week: Monday = 1 … Friday = 5.

SY-TIMLO
User’s local time, for example 154353, 225312, …

SY-TZONE
Time difference in seconds between local time and Greenwich Mean Time (UTC), for example, 
360, 10800.

SY-UZEIT
Current application server time. for example 164353, 215312, …

SY-ZONLO
User’s time zone, for example, EST, UTC, …

No comments:

Post a Comment