Deterministic alarm planner
Given an alarm time and a repeat rule (once / daily / weekdays / weekend) it computes the next ring time, the minutes remaining and the next few occurrence dates. The current time is passed in rather than read from the system clock, so the result reproduces exactly; the page plays the sound.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Ring plan
The next ring time, minutes remaining and the following occurrences, ready to copy.
Enter the current time to see the next ring
What this tool does
- Work out how long until the next ring before setting an alarm, especially across days or weekends.
- Weekday alarms: check that a "weekdays 07:30" alarm set on Friday next rings on Monday, not Saturday.
- List the next few ring times with weekday names so you can plan an advance reminder (say 15 minutes).
Example
Input
06:30
Output
Alarm: Every day 07:30 (daily) Next: 2026-01-01 07:30 (Thursday) Remaining: 60 minutes (about 1 h) Next 3 occurrences: 1. 2026-01-01 07:30 (Thursday) 2. 2026-01-02 07:30 (Friday) 3. 2026-01-03 07:30 (Saturday)
When only a time like 06:30 is given, the date defaults to 2026-01-01; a full value such as 2026-03-08 22:40 works too.
Frequently asked questions
Why do I type the time instead of using the system clock?
So that results are reproducible: the current moment comes from the input or the "now" option and never from the system clock. A bare HH:MM is anchored to 2026-01-01, while YYYY-MM-DD HH:MM uses that date. Calendars (including leap years) are computed in pure civil-date arithmetic, independent of the browser time zone.
How do the four repeat rules behave?
once returns a single occurrence; daily rings every day; weekdays only Monday to Friday; weekend only Saturday and Sunday. Each occurrence is printed with its weekday so you can verify the day, and every rule except once also reports the weekly count (7 / 5 / 2).
Does the advance reminder change the ring time?
It changes the decision cutoff, not the printed time. With N minutes of advance (0–180), the next occurrence counts as soon as alarm time − N minutes is past the current moment, so the remaining minutes shrink; the printed time stays the HH:MM you set.
Will it actually ring?
No. This is a pure calculation: given the current moment, the alarm time and the repeat rule it returns the next few occurrences. Playing a sound is up to the page and stops when you leave it.
Keywords:Deterministic alarm planneralarmofflinedeterministic