COUPDAYS

Returns the number of days in the coupon period that contains the settlement date.
=COUPDAYS(B1, B2, B3)
COUPDAYS() Result is 90