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 Function

Former Member
0 Likes
453

Hi.

I am a new user !

Module that calcutes the function is the difference between the two pieces of data I'm looking at.

Help me please..

Moderator message : Vague question, discussion locked.

Message was edited by: Vinod Kumar

4 REPLIES 4
Read only

Former Member
0 Likes
418

Hi

You can use

data difftime type sy-uzeit.

data time2 type sy-uzeit.

data time1 type sy-uzeit.

........

DiffTime =  Time1-time2.

Thanks,

Chandra

Read only

0 Likes
418

HI

Try Class CL_TIMECALC and method is DIFF_TIMES

Thanks,

Chandra

Read only

0 Likes
418

Okay I will use.

Thanks for the response Chandra

Read only

Former Member
0 Likes
418

HI

CL_TIMECALC and method is DIFF_TIMES used , but the negative.