Skip to content · 跳到主要内容

Marriage Calculator

Calculate the calendar duration between a wedding date and a date to check.

Enter valid calendar dates, and make sure the check date is not before the wedding date.

Enter valid calendar dates, and make sure the check date is not before the wedding date.

Marriage duration
--
--
Total days
--
Total weeks

Marriage

The duration is decomposed into whole calendar years, months, and remaining days. Total days use UTC calendar-day values to avoid daylight-saving shifts.

Formula

duration = calendar years + calendar months + remaining days
total days = (check date − wedding date) ÷ 86,400,000 ms

Why calendars and day counts disagree

A duration expressed in years, months and days depends on where the months fall, because months differ in length. Counting total days and then dividing gives a different answer from counting calendar months, and both are legitimate for different purposes. Anniversaries and milestone gifts usually follow the calendar version, while a rental term or contract period may be defined in days.

Time zones and leap years

Because dates are treated as UTC calendar days, the result is not shifted by daylight-saving changes, which can otherwise move a duration by an hour and occasionally by a day. Leap years are counted automatically, so a period spanning 29 February gains a day. For a duration between two specific moments rather than two dates, include the times of day, since an evening wedding and a morning signature on the same date otherwise look identical.

Frequently Asked Questions

Why do the years, months and days not match the total days?

Months vary between 28 and 31 days, so a calendar breakdown and a day count are different measures of the same period.

Are leap years included?

Yes. A period spanning 29 February includes that day in the total.

Does daylight saving affect the result?

No. Dates are handled as UTC calendar days, so clock changes do not shift the result.

Can I include a time of day?

The calculator works with dates. For an exact duration between moments, note that same-day events are otherwise treated as identical.

Last reviewed: October 5, 2026 · How we calculate · Sources: Published formula reference; verify domain-specific assumptions before making a decision