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 to get the local date

Former Member
0 Likes
830

Hi All,

I have a requirement were in I need to get the local date by inputting the server date. Pls let me know whether there is any function module to do this.

Eg: If the time in US is 5.30 PM on Oct 17th, then the corresponding Indian time would be 6 AM on Oct 18th. If my server is running with US timings, how to determine the corresponding date in India.

Thanks,

Subathra

4 REPLIES 4
Read only

Former Member
0 Likes
734

use system variables sy-datlo and sy-timlo.

Read only

Former Member
0 Likes
734

Hi,

Hi could you check the tables TTz5 and TTz5* tables.

Also please check the Package SZTZ and in particular the Function Group TZNO.

This might be able to provide what you require.

Thanks

Dominic

Read only

anversha_s
Active Contributor
0 Likes
734

hi,

use function module TZ_GLOBAL_TO_LOCAL.

it will give the local time and date.

if helpful pls mark points.

rgds

anver

Read only

Former Member
0 Likes
734

hi,

Check

Regards,

Santosh