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

time calculation

Former Member
0 Likes
275

I was given

START_DATE

START_TIME

END_DATE

END_TIME

fields

how can i calculate duration ie time between start and end time.

1 REPLY 1
Read only

Former Member
0 Likes
256

HI,

TRY THIS CODE,

DATA:DIFFTIME LIKE SY-UZEIT.

DIFFTIME = START_TIME - END_TIME.

WRITE:DIFFTIME.

REWARD POINTS IF HELPFUL,

KUMAR