Days Until Anniversary
Calculator
Results
- Days until the anniversary
- 96
- Weeks until the anniversary
- 13.714285
- Months until the anniversary (approx.)
- 3.154068
- Anniversary is today (1 = yes)
- 0
Time and date results
| Days until the anniversary | 96 |
| Weeks until the anniversary | 13.714285 |
| Months until the anniversary (approx.) | 3.154068 |
| Anniversary is today (1 = yes) | 0 |
formula-map diagram
- Days until the anniversary
- 96
- Weeks until the anniversary
- 13.714285
- Months until the anniversary (approx.)
- 3.154068
- Anniversary is today (1 = yes)
- 0
Time relationship
Formula
days until anniversary = next occurrence of month/day on or after today, minus today= 96
Note
This is a simplified model: it uses fixed conversions (60 minutes per hour, 24 hours per day, 7 days per week, 365 days per year) and ignores leap years, daylight saving changes, public holidays and irregular month lengths. Check the result against a real calendar before relying on it.
Example: with the default inputs, calculator.timedate.days_until_anniversary is 96.
More in Time and date
See all →Frequently asked questions
How do I count the days until an anniversary?+
Enter today's date and the anniversary's month and day. The calculator finds the next occurrence of that month and day on or after today and subtracts today's date.
What if the anniversary is today?+
Today counts as the next occurrence, so the result is 0 days and the "is today" flag is set to 1.
What happens if the date has already passed this year?+
The calculator moves to the same month and day in the following year and counts the days to that date.
How are February 29 anniversaries handled?+
In a year that is not a leap year, a February 29 anniversary is treated as February 28.
Why enter today's date manually?+
The calculator does not read your device clock, so you provide the current year, month and day. This also lets you count from any date you choose.