Common uses
Contract notice periods, rental durations, pregnancy weeks, visa stays and event countdowns all need clean day counts — this handles leap years automatically.
Count days between two dates, with inclusive totals, weekday counts and weekend counts.
elapsed = end − start in UTC milliseconds ÷ 86,400,000; inclusive adds 1
Jan 1 → Jan 31 is 30 days difference, 31 days inclusive.
Contract notice periods, rental durations, pregnancy weeks, visa stays and event countdowns all need clean day counts — this handles leap years automatically.
Difference mode excludes both endpoints' boundaries cleanly; switch to inclusive when a lease or trial includes its final day.
Add or subtract days, weeks, months or years from a date to find deadlines and future dates.
Exact age in years, months and days from any birth date — plus total days and next birthday countdown.
Count working days between two dates or find the date N business days away, skipping weekends.
Time between a start and end clock time, with optional break deduction for timesheets.
ISO-8601 week number for any date, plus that week's Monday-to-Sunday range.
Estimate monthly mortgage payments including principal, interest, taxes and insurance for any home price.