Skip to Content
0
Former Member
Aug 08, 2007 at 09:24 AM

Timezone conversion, Timestamp

72 Views

Hello,

Please go through the below code.

data: gv_convert_date type d value '20070801',
       gv_convert_time type t value '240000',
       gv_system_timezone type tznzone value 'CET',
       gv_dtstamp type timestamp.

 convert date gv_convert_date time gv_convert_time
         into time stamp gv_dtstamp time zone gv_system_timezone.

 check sy-subrc is initial.

If I use gv_convert_time as 23:50:00 instead of 24:00:00 it returns

sy-subrc as zero.

In the case 24:00:00 it gives sy-subrc value as 12.