09-12-2007 12:56 PM
hi all,
is there any function module to find out the difference between two time stamps on two different dates. say if an activity starts on 09/05/2007 at 11:23:24 and ends on 09/08/2008 at 14:24:26. it needs to find the number of hours between the two. for this case it should be:
75:01:02 hours:mins:secs.
or a FM which works in a way similar to the above functionality.
09-12-2007 12:59 PM
09-12-2007 1:07 PM
Use this FM - SD_DATETIME_DIFFERENCE.
Pass Start date / Start time and End date / End Time and u ll get the difference.
Note - U need to pass the time - dont leave it blank.
09-12-2007 1:13 PM
Hi,
Use FM SD_CALC_DURATION_FROM_DATETIME
but this will not give the seconds difference
Regards
Shiva