Skip to Content
0
Former Member
Apr 16, 2008 at 04:32 PM

Date Time Calculation

33 Views

Hi all,

I 'm wondering if there is any function or form available for counting time used between 2 point of time.

I did a little research and if the 2 point of time are in the same day, i can simply deducted them using variable with type sy-uzeit.

but since these 2 point of time, are on 2 different date, i'm having difficulty on calculating time difference between them.

ex : if i wanna calculate from 2008/04/12 (yyyy/mm/dd) 20:00 (hh:mm) to 2008/04/16 11:00 and i want the result to be displayed in hh:mm.

should i use 2 variable type sy-datum, and sy-uzeit for counting them? or is there any easier way around it?

<REMOVED BY MODERATOR>

tks and rgds,

William Prawira

Edited by: Alvaro Tejada Galindo on Apr 16, 2008 12:47 PM