YEARFRAC function

description:

Returns the year fraction.

 

syntax:

=YEARFRAC( start_dateend_date[basis] )

 

required arguments:

start_date The start date.
end_date The end date.

 

optional arguments:

[basis] The type of day count basis to use.