difference
How far apart are two moments?
Calendar difference and absolute totals between two dates, in the timezone you choose — including how many weekdays fall between them.
date difference
“1 month” is a calendar month, not 30 days. From January 15 to February 15 is one month and zero days; the total day count is 31.
A calendar day that contains a daylight-saving change is 23 or 25 hours long. Calendar differences stay right; total hours differ by that hour.
Which number do you need?
Billing periods, age and “time since” labels want calendar units: 2 years, 3 months, 4 days. Timeouts, SLAs and duration maths want totals: 823 days, 19,752 hours, 71,107,200 seconds. This page gives both, so you do not have to pick one before converting.
Weekdays count Monday through Friday in the selected zone, ignoring holidays. For working-day calculations with a holiday calendar, treat this as a starting point rather than a payroll answer.