cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically convert from one time stamp to other time stamp

Former Member
0 Kudos


Hi,

I am getting date, time and time zone from Idoc, I need to convert this date and time  to system time zone (sy-zonlo) when I concatenate date and time, it will be always in UTC format, But I need to also consider time zone from idoc,It can be anything like UTC+7,UTC+4 etc. Now I need to dynamically convert this date and time of one time zone to other system time zone. Please help on how to do this.

Thanks,

Venkat

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Venkat,

You should be posting this question in ABAP forum to get more details. But I was able to identify some FM in GTS. I believe these will help you.

If possible, please try once

IB_CONVERT_INTO_TIMESTAMP

IB_CONVERT_FROM_TIMESTAMP


There is a sample code in the below link


http://sapnwabap.wordpress.com/2012/06/12/convert-time-from-one-time-zone-to-another/


If this is not the one you are looking for, please let us know.



Regards

Dhilipan


Answers (0)