year_frac function

The years between two dates for a given day basis convention