How the payday D-day is calculated
If this month's payday is today or still ahead, it's used as the next payday. If it has already passed, next month's payday is used instead. A payday number larger than the month's length (like 31) is clamped to that month's last day.
- payday — the day of the month you get paid (1–31)
- next payday — the nearest payday on or after today, clamped to month-end
More detail
Month-end clamping
If you set payday to 31 but the current month only has 30 days (April, June, September, November), that month's last day is used instead. February clamps to the 28th (or 29th in a leap year) the same way.
Automatic rollover to next month
Once this month's payday has passed, the calculator switches to next month's payday automatically — including across a year boundary, e.g. a December 20th check for a payday of 5 rolls to January 5th.
Tip. The actual deposit can land a business day early or late around weekends and public holidays. Use this D-day as a planning estimate and confirm the exact date in your company's payroll policy.
Frequently asked questions
I set payday to 31, but this month only has 30 days — what happens?
The payday is automatically clamped to the month's last day. For example, payday 31 becomes April 30th in April and February 28th (or 29th in a leap year) in February.
What if this month's payday has already passed?
The calculator automatically moves to next month's payday. For example, with payday set to 10 and today the 18th, it skips this month's 10th and counts down to next month's 10th instead.
What does D-DAY mean here?
D-DAY means today is the payday itself — the next payday output matches today's date and days left shows 0.
Does this account for weekends or holidays shifting the deposit date?
No — this calculates the calendar date only. Many employers move payday earlier when it falls on a weekend or public holiday; check your company's payroll rules for the exact deposit date.