Monthly reminders on the 31st: how repeating tasks handle short months
By Fenil Shah · · 3 min read
Imagine a bill that is due on the last day of every month, and you set a monthly reminder for the 31st. What should the reminder do in February, April or June, which have no 31st? The answer sounds simple, but many reminder apps get it wrong. This post explains the problem and the fix that Smart Reminder 2.1 brings.
The problem: months have different lengths
Seven months have 31 days, four have 30, and February has 28 or 29. A reminder that repeats “every month on the 31st” must decide what to do when the 31st does not exist. There are two common approaches, and one of them has a hidden flaw.
The flaw: drifting to the 28th
A common way to build repeating tasks is to take the last date and add one month. That works until a short month interferes:
- January 31, plus one month, becomes February 28 (there is no February 31).
- February 28, plus one month, becomes March 28.
- From then on, the reminder stays on the 28th for the rest of the year.
Your bill is due on the 31st, but the reminder now fires on the 28th, three days early, for months. It has quietly drifted.
The same fault shows up for:
- Tasks repeating every three or six months
- A yearly task on 29 February
- A monthly task on the 29th or 30th
The fix: count from the original date
The correct way is to count each occurrence from the original anchor date, and not from the previous, clamped date. For a task starting on the 31st:
| Month | Reminder falls on |
|---|---|
| January | 31 |
| February | 28 (or 29), the last day |
| March | 31 |
| April | 30, the last day |
| May | 31 |
Short months use their last day, and long months return to the 31st. That is what Smart Reminder 2.1 does.
Tips for monthly tasks
- For bills due on a fixed date, set the reminder a few days earlier, such as the 25th, so a short month never matters. See how to stop forgetting bills and renewals.
- For “end of month” tasks, like closing the books or sending an invoice, use the 31st and let the app use the last day of short months.
- For yearly tasks on 29 February, expect them on the 28th or 1 March in non-leap years, and add a second reminder if the date is critical.
- After any change, check the next few occurrences in the calendar view.
Test it yourself
Make a task that repeats monthly on the 31st, with a start in January. Look at February and March in the calendar view. If February shows the 28th and March shows the 31st, repeats are counted from the anchor.
Try Smart Reminder
Smart Reminder supports daily, weekly and monthly repeats, and a calendar view to check them. Read what else is in the new release in what’s new in Smart Reminder 2.1.
If you ever see a repeating task fall on the wrong day, write to me with the start date and the repeat rule, and I will look into it.
Related: repeating tasks that keep reminding you until you act are covered in Smart Reminder 2.1.1.
Try Smart Reminder
A to-do list and reminder app with smart alerts, sync, categories and an email backup. See all Smart Reminder features.