If you build a budgeting app or a reminder bot for people in Canada, someone will ask: "When does my CPP come in?" It looks like a date-math problem. Mostly it isn't. Here is how we handle it at Daybook Times, and where code should stop guessing.
Start from the official list
The source of truth is the Benefits payment dates calendar on canada.ca. It lists the 2026 and 2027 dates for programs run by Service Canada and the CRA. It also warns that payments are issued on those dates but can take a few days to arrive, that cheques by mail take longer than direct deposit, and that people should wait 5 to 10 business days before contacting the program.
On our payment dates page we sum up the rules this way: CPP and OAS are paid near the end of the month, the Canada child benefit (CCB) around the 20th, and the Canada Disability Benefit (CDB) on the third Thursday. December breaks the pattern, with several payments moved earlier for the holidays.
"Near the end of the month" is not a formula. So for CPP and OAS we don't compute anything. We store the published list.
Next payment from a published list
// CPP and OAS 2026, transcribed from canada.ca (same dates for both) const CPP_OAS_2026 = [ "2026-01-28", "2026-02-25", "2026-03-27", "2026-04-28", "2026-05-27", "2026-06-26", "2026-07-29", "2026-08-27", "2026-09-25", "2026-10-28", "2026-11-26", "2026-12-22", ]; // "en-CA" formats the local date as YYYY-MM-DD, // and ISO strings compare correctly as plain text function nextPayment(list, today = new Date().toLocaleDateString("en-CA")) { return list.find((d) => d >= today) ?? null; } nextPayment(CPP_OAS_2026, "2026-12-01"); // "2026-12-22" Keep the dates as strings. new Date("2026-12-22") is parsed as midnight UTC, which displays as 21 December in Toronto. When nextPayment returns null, the year is over and you need next year's official list, not a guess.
Rules you can test, not trust
Two programs have rules simple enough to code. Use them to check your data, not to replace it.
const pad = (n) => String(n).padStart(2, "0"); const iso = (y, m, d) => `${y}-${pad(m)}-${pad(d)}`; // CDB: third Thursday of the month function thirdThursday(y, m) { const firstDay = new Date(Date.UTC(y, m - 1, 1)).getUTCDay(); const firstThu = 1 + ((4 - firstDay + 7) % 7); return iso(y, m, firstThu + 14); } // CCB: around the 20th. In the 2026 list, a 20th that falls // on a weekend is paid the Friday before (Jun 19, Sep 18). function ccbEstimate(y, m) { const day = new Date(Date.UTC(y, m - 1, 20)).getUTCDay(); const back = day === 6 ? 1 : day === 0 ? 2 : 0; return iso(y, m, 20 - back); } const CCB_2026 = [ "2026-01-20", "2026-02-20", "2026-03-20", "2026-04-20", "2026-05-20", "2026-06-19", "2026-07-20", "2026-08-20", "2026-09-18", "2026-10-20", "2026-11-20", "2026-12-11", ]; const misses = CCB_2026.filter((d, i) => d !== ccbEstimate(2026, i + 1)); console.log(misses); // ["2026-12-11"] thirdThursday matches all twelve CDB dates for 2026. ccbEstimate matches eleven of the twelve CCB dates. The miss is December: the estimate says 18 December, canada.ca says 11 December. That is the holiday exception, and nothing published tells you in advance how far a date moves.
So the pattern we follow is simple: store the official dates and run the rule only as a sanity check. Any mismatch goes to a person, who compares it with canada.ca. The weekend behaviour above is what the 2026 list shows, not a rule the government states.
What there isn't
Daybook Times does not offer a JSON API for these dates. If your users only want reminders, they can subscribe to our CPP and OAS calendar feed in any calendar app.
The date is half the question. The other half is how much. Our calculators estimate amounts such as CPP and the CCB with the government's formula, in the browser. The paying agency confirms the real amount.
Before you ship anything that tells someone when their money arrives, check each date against canada.ca, and remind users that their bank may show the deposit a few days later.
The Daybook Times team
