Application Development 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: 

Time Conversion

Hi,

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

Thankyou.

1 ACCEPTED SOLUTION

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

SimoneMilesi
Active Contributor
0 Kudos

Sandra_Rossi
Active Contributor

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

mateuszadamus
Active Contributor

Hello akarsh_gowda_031

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

Kind regards,
Mateusz

DominikTylczyn
Active Contributor

Hello akarsh_gowda_031

Try using CONVERT TIME STAMP ABAP statement.

Best regards

Dominik Tylczynski

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.