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

to get local date

Former Member
0 Likes
727

hi experts,

How can we fetch the local date i,e date which is present in desktop computer??

is it sy-datlo?? i have used it but still shows sap system date.

Thanks,

Gaurav

hi experts,

How can we fetch the local date i,e date which is present in desktop computer??

is it sy-datlo?? i have used it but still shows sap system date.

Thanks,

Gaurav

3 REPLIES 3
Read only

Former Member
0 Likes
623

Hi,

Check this link for all System variables...

system variables:

http://help.sap.com/saphelp_47x200/helpdata/en/7b/fb96c8882811d295a90000e8353423/frameset.htm

Reward if helpful...

GAURAV J.

Read only

Former Member
0 Likes
623

sy_datlo is a predefined system data object

Read only

Former Member
0 Likes
623

You can find the current users local date/time as follows:

SY-DATLO - Local Date for Current User

SY-TIMLO - Local Time of Current User

SY-ZONLO - Time Zone of Current User

structure contains local time -> LTIME

Reward if useful.