G
Guest
I have four fields "Arrival Date" "Arrival Time" "Delivery Date" and "
Delivery Time"
(all using military time)
Here is my question:
How do I figure out the time different between the four fields?
Here is an example (in respectible order)
"01/01/2005" "13:00" "01/02/2005" "13:00" Ans: 1 day 0 hours 0 minutes
"01/01/2005" "13:00" "01/02/2005" "14:05" Ans: 1 day 1 hours 5 minutes
This is tricky (how would this be calucated):
"01/01/2005" "13:00" "01/02/2005" "12:00" Ans: 0 day -1 hours 0 minutes
It should only be (23 hours)
Does anyone have any suggests?
Thank you
Delivery Time"
(all using military time)
Here is my question:
How do I figure out the time different between the four fields?
Here is an example (in respectible order)
"01/01/2005" "13:00" "01/02/2005" "13:00" Ans: 1 day 0 hours 0 minutes
"01/01/2005" "13:00" "01/02/2005" "14:05" Ans: 1 day 1 hours 5 minutes
This is tricky (how would this be calucated):
"01/01/2005" "13:00" "01/02/2005" "12:00" Ans: 0 day -1 hours 0 minutes
It should only be (23 hours)
Does anyone have any suggests?
Thank you