Determine years betwen 2 dates
Hi,
Can anyone here tell me how to determine the number of years between two
dates?
I have tried -
(Days360(Date1, Date2, True))/365
This does not produce the correct answer. When testing it with 3/5/2001 &
3/5/2006 it returns - 4.92603. I guess this is because there are not always
365 days in a year.
Any help and advice greatly appreciated.
|