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: 

Local System Date and Time

Former Member
0 Kudos

Dear All,

Is there any way to find out the local system date and time?

7 REPLIES 7

Former Member
0 Kudos

Hi,

Check the table SYST, you will have a list of system defined variables.

You will get one that will show the local system date and time

Regards,

Pramod

0 Kudos

None of the fileds in SYST table shows the local system date and time.

Former Member
0 Kudos

hi

SY-DATLO : Useru2019s local date.

SY-TIMLO : Useru2019s local time.

Regards,

Vishwa.

GauthamV
Active Contributor
0 Kudos

hi,

use these fields.

sy-uzeit.

sy-datum.

sy-datlo.

sy-timlo.

you can get these from structure SYST.

former_member585060
Active Contributor
0 Kudos

Hi,

Use this Function Module,

DB_LOCAL_TIME

Regards

Bala Krishna

0 Kudos

DB_LOCAL_TIME does not give local time

0 Kudos

Hi,

When you check your SYST structure right you have these 2 fields.

DATLO SYSTDATLO DATS 8 0 Local Date for Current User

TIMLO SYSTTIMLO TIMS 6 0 Local Time of Current User

I think they give the local time and date.

Regards,

Pramod