Calculating date ranges

A

Adam

I have a database with the following:

Start Date
End Date
Cancel Date

I need to know the number of days between the Cancel Date
and End Date. That number then needs to be used for
calculating a dollar amount.

I have no idea how to do this. Help!

Thanks,
Adam
 
H

Howard Brody

Try subtracting the dates in a query:

Field: DaysTilTerm: [EndDate]-[CancelDate]

Hope this helps!

Howard Brody
 
H

Hugh O'Neill

Adam said:
I have a database with the following:

Start Date
End Date
Cancel Date

I need to know the number of days between the Cancel Date
and End Date. That number then needs to be used for
calculating a dollar amount.

I have no idea how to do this. Help!

Thanks,
Adam


DateDiff() is a function you should look at for this. Then, if you
need the result in days, use the Format() function to show the result
in days.

hth

Hugh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top