Skip to content

ABAP Keyword Documentation →  ABAP - Quick Reference 

CONVERT UTCLONG - Quick reference

Reference

Other versions: 7.31 | 7.40 | 7.54

Syntax


 
CONVERT { UTCLONG time_stamp
          INTO [DATE dat]
               [TIME tim [FRACTIONAL SECONDS fs]]
               [DAYLIGHT SAVING TIME dst]
               TIME ZONE tz }
      | { DATE dat
          TIME tim [FRACTIONAL SECONDS fs]
          [DAYLIGHT SAVING TIME dst]
          TIME ZONE tz
          INTO UTCLONG time_stamp }.

Effect

Converts either a UTC time stamp in a time stamp field time_stamp to dates and times and returns the results in dat, tim, and fs or converts a date or time in dat, tim, and fs to a UTC time stamp with respect to a time zone tz and returns the result in a time stamp field time_stamp.

Addition

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