DAYS
Date

Returns the number of days between two dates

Syntax:

=DAYS(end_date, start_date)

Example:

=DAYS("12/31/2024", "1/1/2024")