Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10482

Re: Convert Time and date in User time zone to UTC

$
0
0

Hi Prasanth,

 

Use this:

 

cl_abap_tstmp=>systemtstmp_syst2utc(               "timestamp in UTC

      EXPORTING

        syst_date = sy-datum

        syst_time = sy-uzeit

      IMPORTING

        utc_tstmp = gw_UTCtimestmp ).

 

Thanks,

Anil


Viewing all articles
Browse latest Browse all 10482

Trending Articles