sheets get number of days between two dates code example
Example: Google Sheets How to Count the Days Between Two Dates
# Basic syntax:
=DAYS("end_date", "start_date")
# Example:
=DAYS("01/01/2019","01/01/2018")
# Note, use =NETWORKDAYS for business days