In reply to Prashant Chegoor.

Prashant - yes, I believe it does work correctly for leap years. I tried your example and it worked simply with:

Age2 = yrdif(BirthDate,EndDate,'AGE');