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: 

Need Function Module to find No of HOURS between the inputs DATE & TIME

Former Member
0 Kudos

I Need Function Module to find out No of HOURS between the inputs DATE & TIME, please let me know how to calculate the no of hours.

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

Try something like :

Hours =   ( D2 - D1 ) * 24 + ( T2 - T1 ) / 3600.

Regards

Former Member
0 Kudos

hi,

use this FM

SD_CALC_DURATION_FROM_DATETIME

Check

Former Member
0 Kudos

Hi,

Use following Function Moule

SD_CALC_DURATION_FROM_DATETIME

This function module would wok out. I have used .

Thanks,

Nageswar