I need to know how I might make comparisons between 2 dates and times. The first date/time is a 'received' and a 2nd date/time is a 'shipped'. I have been given the task to produce a field 'elapsed time' in hours and minutes. Has anyone tackled this one before??
This should point you in the right direction...<br>
<br>
You can use the DateDiff function in your query. Create a new column that has the following Field definition:<br>
<br>
Diff: DateDiff("h",[StartDate],[EndDate])<br>
<br>
Your query will have a new field called "Diff" that represents the number of hours between the start & end date.<br>
<br>
Look-up DateDiff in help to get more info.<br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.