From: Vianny on
In Access expressions, how can I calculate the difference between two dates
in years, months and days?
From: Stuart McCall on
"Vianny" <Vianny(a)discussions.microsoft.com> wrote in message
news:9C90CB32-1C04-4124-8FC7-583D62004906(a)microsoft.com...
> In Access expressions, how can I calculate the difference between two
> dates
> in years, months and days?

Look up the DateDiff function in help. It does precisely what you want.


From: BruceM via AccessMonster.com on
Unless something has changed in Access 2007, DateDiff will return one time
interval (years OR months OR days), but not a combination.

Here is a link to code for calculating age in years, months, and days (the
detailed version at the bottome of the page). It can be adapted to work with
the start date and end date of your choice (rather than DOB and the current
date).
http://www.mvps.org/access/datetime/date0001.htm

Stuart McCall wrote:
>> In Access expressions, how can I calculate the difference between two
>> dates
>> in years, months and days?
>
>Look up the DateDiff function in help. It does precisely what you want.

--
Message posted via http://www.accessmonster.com