You can get months/years in $duration by getting my $DateXpander identifier off
http://www.mircscripts.org . It accurately calculated based on leap years, varying months, etc. Read the information posted there about how you can use it to do various things.