GET TIME

Basic form 4

GET TIME.

Addition:

... FIELD f

Effect

Sets the system field SY-UZEIT to the current time and resets SY-DATUM. Also refreshes the SY fields for the local time zone, i.e. SY-TIMLO, SY-DATLO and SY-ZONLO.

Addition

... FIELD f

Effect

Sets the field f to the current time, taking into account the type. SY-DATUM, SY-UZEIT and the SY fields for the local time zone are not set.

Note

If required, the ABAP runtime clock is synchronized for both variants with the time of the database server.
The operating system times of the database server and application server could differ slightly. The ABAP runtime clock is synchronized with the operating system time of the database server. If it is called more than once, the number of seconds could therefore theoretically differ.