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

Display application server time and date on GUI screen.

Former Member
0 Likes
1,057

Hi experts,

My client's requirenment is to display the application server time and date on the on GUI screen

pls give the step by step procedure.

Thanks in advance.

Abhishek

Hi experts,

My client's requirenment is to display the application server time and date on the on GUI screen

pls give the step by step procedure.

Thanks in advance.

Abhishek

3 REPLIES 3
Read only

jayakumarkb_81
Participant
0 Likes
900

Dear abhishek

WRITE : sy-uzeit. " for time

WRITE : sy-datum. " for date

Read only

Former Member
0 Likes
900

Hi,

For TIME purpose,

  • Fixed Length 6

  • Format u2018HHMMSSu2019

DATA times TYPE T.

times = sy-uzeit.

WRITE times.

For DATE purpose

  • Fixed Length 8

  • Include Representation u2018YYYYMMDDu2019

DATA today TYPE D.

today = sy-datum.

WRITE today.

today = u201819991231u2019.

WRITE today.

Regards,

Anki Reddy

Read only

Former Member
0 Likes
900

Hi,

Add this write statement in ur code,

WRITE:/ 'DATE: ' ,sy-datum,

'TIME: ' ,sy-uzeit.

Thanks.