Recurring Weekly Event Next Occurrence
Calculator
Results
- Days until the next occurrence
- 4
- Occurrences elapsed since day zero
- 1
- Recurrence interval (days)
- 7
- Weeks until the next occurrence
- 0.571428
Time and date results
| Days until the next occurrence | 4 |
| Occurrences elapsed since day zero | 1 |
| Recurrence interval (days) | 7 |
| Weeks until the next occurrence | 0.571428 |
formula-map diagram
- Days until the next occurrence
- 4
- Occurrences elapsed since day zero
- 1
- Recurrence interval (days)
- 7
- Weeks until the next occurrence
- 0.571428
Time relationship
Formula
days until next = interval − (days since last mod interval), or 0 if it falls exactly today= 4
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_next is 4.
More in Time and date
See all →Frequently asked questions
How is the next occurrence calculated?+
The calculator divides the days since the last occurrence by the interval and takes the remainder. Days until next = interval minus that remainder, or 0 if the remainder is zero.
Does it only work for weekly events?+
No. The interval is in days and defaults to 7, but you can enter any positive value, such as 14 or 30.
What does 0 days until next mean?+
The days since the last occurrence are an exact multiple of the interval, so the event falls today.
What other results does it give?+
The number of full occurrences elapsed, the interval used, and the days until next also expressed in weeks.
Does it use real calendar dates or holidays?+
No. It works only with the day counts you enter, assuming a fixed interval. It does not use dates, weekdays or holiday calendars.