Time difference
- From: John <John@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 10 Nov 2008 11:25:03 -0800
I have two fields [FLT_SCH_ARR_TM] & [FLT_ACT_ARR_TM] both in date/time
format. I am trying to find the difference between.
I am using this formula
Late: Format(DateAdd("h",-4,Format([FLT_ACT_ARR_TM],"Short
Time"))-DateAdd("h",-4,Format([FLT_SCH_ARR_TM],"Short Time")),"Short Time")
The only thing is that it doesn't return a "-" if it’s supposed to...they
are all positive times.
Example:
[FLT_SCH_ARR_TM]= 5:46:00 AM
[FLT_ACT_ARR_TM]= 5:36:00 AM
Late returns 00:10 when it should be -00:10
Any suggestions?
.
- Follow-Ups:
- Re: Time difference
- From: Graham Mandeno
- Re: Time difference
- From: Jeff Boyce
- Re: Time difference
- Prev by Date: RE: How to do a Max Count in a query
- Next by Date: Date calculation using Iff statement in update query????
- Previous by thread: microsoft office version activation
- Next by thread: Re: Time difference
- Index(es):