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

Function Module for changing time

karthik_rajaspic
Participant
0 Likes
747

Hi All,

I need to convert the Danish time to the Chinese time in my program.

I have used the function module 'TZ_SYSTEM_TO_LOCAL'. This fm converts the time perfectly.

I have a question here. During winter, there is a Daylight saving in Europe countries. Whether this fm acts accordingly?

Else, whether any other function module is available to consider this change?

Please let me know. Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
506

If you want to consider the Daylight saving then you check this..

CONVERT TIME STAMP time_stamp TIME ZONE tz 
        INTO [DATE dat] [TIME tim] 
        [DAYLIGHT SAVING TIME dst].

Just read the F1 help of CONVERT TIME, you get more clarification.

1 REPLY 1
Read only

Former Member
0 Likes
507

If you want to consider the Daylight saving then you check this..

CONVERT TIME STAMP time_stamp TIME ZONE tz 
        INTO [DATE dat] [TIME tim] 
        [DAYLIGHT SAVING TIME dst].

Just read the F1 help of CONVERT TIME, you get more clarification.