Calculate the Number of Days Between Two Dates

Hi, Is anyone able to help? I have two dates in the form: Rental start date, Rental end date. I would like to receive a result in the form of the number of days between the dates in an additional field.
1 Reply
Resonance
Resonance14mo ago
$rentalStartDate->diff($rentalEndDate)->days

Did you find this page helpful?