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

Local System Date and Time

Former Member
0 Likes
1,233

Dear All,

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

Dear All,

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

7 REPLIES 7
Read only

Former Member
0 Likes
1,065

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

Read only

0 Likes
1,065

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

Read only

Former Member
0 Likes
1,065

hi

SY-DATLO : Useru2019s local date.

SY-TIMLO : Useru2019s local time.

Regards,

Vishwa.

Read only

GauthamV
Active Contributor
0 Likes
1,065

hi,

use these fields.

sy-uzeit.

sy-datum.

sy-datlo.

sy-timlo.

you can get these from structure SYST.

Read only

former_member585060
Active Contributor
0 Likes
1,065

Hi,

Use this Function Module,

DB_LOCAL_TIME

Regards

Bala Krishna

Read only

0 Likes
1,065

DB_LOCAL_TIME does not give local time

Read only

0 Likes
1,065

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