ABAP TimeStamp Functions

Some useful timestamp functions are-

  • UTCLONG_CURRENT( ) – that gives the current timestamp in the long format.
  • UTCLONG_ADD( ) – supports adding Days/Hours/Mins/Secs to a UTCLONG timestamp.
  • UTCLONG_DIFF( ) – provides difference between two UTCLONG time stamps.

The below example show how to use the UTCLONG_CURRENT( ) and UTCLONG_ADD( ) functions.

Output-

Use of UTCLONG_DIFF( ) function-

Output-


Leave a Reply