COUPDAYBS

Returns the number of days from the beginning of a coupon's period to the settlement date.
=COUPDAYBS(B1, B2, B3)
COUPDAYBS() Result is 66