Skip to Content
0
Former Member
Sep 18, 2007 at 10:01 AM

Converting date with timezone

65 Views

Hi all,

In Function Module SHP_BAPI_DELIVERY_CONFIRM_DEC a date conversion is performed

CONVERT DATE IS_LIKP-WADAT_IST INTO TIME STAMP CT_BAPIDLVDEADLN-TIMESTAMP_UTC

TIME ZONE IS_LIKP-TZONIS.

before executing command the values are:

IS_LIKP-WADAT-IST = 20070918

CT_BAPIDLVDEADLN-TIMESTAMP_UTC = SPACE

IS_LIKP-TZONIS = CET

My systems' timezone is SYST-ZONLO = CET

after executing the command the result is

CT_BAPIDLVDEADLN-TIMESTAMP_UTC = 20070917220000

I expected the same date as I put into the command (because target zone and system zone are the same.

Can somebody explain?

Thanks Ron