Skip to content
MewixMewix

Date difference

Enter two dates in A and B to see how many whole days separate them, regardless of order.

Updated by the Mewix team

Calendar days, always positive

Both fields accept date strings the browser can parse — ISO YYYY-MM-DD is reliable. The engine takes the absolute difference in milliseconds, divides by 86,400,000, and rounds to the nearest whole day. Swapping A and B does not change the answer.

There is no “include end date” toggle: the count is purely the gap between the two instants, not inclusive booking nights. There is also no business-day filter — Saturdays and holidays count like any other day.

When you need age instead

Birthdays and completed years use different rules. The age calculator adjusts the year when the reference date is before the birthday in that year.

Questions

Why does Invalid appear?

At least one field could not be parsed as a date. Check format and typos.