Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Time Conversion

1,644

Hi,

How To convert timestamp data into user time zone like UTC+9:00,

Thankyou.

1 ACCEPTED SOLUTION
Read only

1,557

Hi ,

tstmp_current_utctimesstamp() as time_conversion. //use this syntax

after that you go to tcode su01 , give your username then edit option . go to default settings change time zone "UTC+9" then save . Then Execute your program.

5 REPLIES 5
Read only

SimoneMilesi
Active Contributor
0 Likes
1,557
Read only

Sandra_Rossi
Active Contributor
1,557

Do you mean, for example, how to get this output from this input?

Input (UTC):                 2020.12.01 08:40:00
Output (user being UTC+9):   2020.12.01 17:40:00
Read only

MateuszAdamus
Active Contributor
1,557

Hello akarsh_gowda_031

Here is a good blog about it: https://blogs.sap.com/2016/08/29/about-time-stamps/

Kind regards,
Mateusz
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
1,557

Hello akarsh_gowda_031

Try using CONVERT TIME STAMP ABAP statement.

Best regards

Dominik Tylczynski

Read only

1,558

Hi ,

tstmp_current_utctimesstamp() as time_conversion. //use this syntax

after that you go to tcode su01 , give your username then edit option . go to default settings change time zone "UTC+9" then save . Then Execute your program.