Calculates the number of full days between two dates.
The start date.
The end date.
Number of days between the two dates.
daysBetween(new Date('2025-07-01'), new Date('2025-07-10')); // → 9 Copy
daysBetween(new Date('2025-07-01'), new Date('2025-07-10')); // → 9
Calculates the number of full days between two dates.