Calculates the fraction of the year represented by the number of whole days between two dates
=YEARFRAC(start_date, end_date, [basis])
=YEARFRAC("1/1/2023", "12/31/2023")