Hey guys,
I'm having some issues getting the time difference between two values.
Two dates:
05/10/2006 10:00:00 AM (we'll call this date1)
06/10/2006 10:21:00 AM (we'll call this date2)
The output I need is 24:21
Here's what I'm experiencing:
DateDiff("Short Time",[date1],[date2])
And I get
#Error
Format(([CBTime])-([Time Arrival]),"hh:nn:ss")
And I get
00:21:00
DateDiff("h",[CBTime],[Time Arrival])
And I get
24 (was hoping it might fractionalize the remainder)
Is there any way to get the output I want without having to strip the time into pieces and manually calculate?
Thanks,
D
I'm having some issues getting the time difference between two values.
Two dates:
05/10/2006 10:00:00 AM (we'll call this date1)
06/10/2006 10:21:00 AM (we'll call this date2)
The output I need is 24:21
Here's what I'm experiencing:
DateDiff("Short Time",[date1],[date2])
And I get
#Error
Format(([CBTime])-([Time Arrival]),"hh:nn:ss")
And I get
00:21:00
DateDiff("h",[CBTime],[Time Arrival])
And I get
24 (was hoping it might fractionalize the remainder)
Is there any way to get the output I want without having to strip the time into pieces and manually calculate?
Thanks,
D