Skip to content

ABAP Keyword Documentation →  ABAP - Quick Reference 

CONVERT TIME STAMP - Quick reference

Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


CONVERT { TIME STAMP time_stamp TIME ZONE tz 
          INTO [DATE dat] [TIME tim] [DAYLIGHT SAVING TIME dst] }
      | { DATE dat [TIME tim [DAYLIGHT SAVING TIME dst]]
          INTO TIME STAMP time_stamp TIME ZONE tz }.

Effect

Converts either a UTC time_stamp displayed as a packed number in time_stamp to date/time information and passes the result to dat and tim, or converts date/time information in dat and tim with regard to a time zone tz to a UTC time stamp and passes the result to time_stamp.

Addition

  • DAYLIGHT SAVING TIME dst
    In the case of CONVERT TIME STAMP, specifies whether the time stamp is in daylight saving time. In the case of CONVERT INTO TIME STAMP, specifies whether the time is in daylight savings time.