2007 Dec 13 9:32 AM
Hi,
Whether there is any FM to convert local time to GMT and vice versa.
Thanks in advance,
Message was edited by:
Srinath Srinivasan
2007 Dec 13 9:35 AM
Hello,
The function module <b>IB_CONVERT_INTO_TIMESTAMP</b> is used to convert the time to the GMT. The input parameters are DATE, TIME and the TIMEZONE(user's time zone, default value SY-ZONLO). The output parameter is the timestamp in GMT.
Check out this link for a complete program on time zone conversion:
http://saptechnical.com/Tips/ABAP/ConvertTime.htm
Regards,
Deepu.K
2007 Dec 13 9:35 AM
Hello,
The function module <b>IB_CONVERT_INTO_TIMESTAMP</b> is used to convert the time to the GMT. The input parameters are DATE, TIME and the TIMEZONE(user's time zone, default value SY-ZONLO). The output parameter is the timestamp in GMT.
Check out this link for a complete program on time zone conversion:
http://saptechnical.com/Tips/ABAP/ConvertTime.htm
Regards,
Deepu.K
2007 Dec 13 9:38 AM
2007 Dec 13 9:40 AM
Hi Srinath,
Try these FM
RKE_TIMESTAMP_CONVERT_INPUT - to convert local time /date to GMT]
RKE_TIMESTAMP_CONVERT_OUTPUT - to convert GMT to local
To get the timestamp , use the fm "TZON_GET_OFFSET"
Reward if Useful.
Regards,
Chitra