Date calculators

Month start and end

Find a month’s first and last dates, weekdays and ISO weeks.

Your starting point

Your result
Let’s make it clear.
Choose your inputs, then calculate.

Calculated in your browser. Your inputs are not uploaded.

Put boundaries on a monthly report

Enter a Gregorian year and a month number from 1 for January through 12 for December. The main result gives the number of dates in the month. Each boundary row pairs an exact date with its weekday. The ISO week references on both ends help when a monthly calendar is displayed alongside a week-numbered plan. The form uses a complete calendar month. A billing cycle beginning on day 15 needs a different pair of endpoints.

A month that starts on Saturday might begin on a non-working date for your team but still includes that Saturday. When a report expects every date in the calendar month, use the literal boundary. When an appointment needs an available working date, check the workplace roster or use working days in a month to count qualifying dates. Weekdays and business availability are two separate parts of the plan.

Inspect leap February and the year boundaries

ScenarioEntriesWhat the calculator showsHow to use it
Ordinary FebruaryCalendar year = 2026, Month (1–12) = 228 calendar days. February 2026. First day = Sunday · 1 February 2026, Last day = Saturday · 28 February 2026, First ISO week = 2026-W05, Last ISO week = 2026-W09The month length and Sunday start give a quick check on the calendar display.
Leap FebruaryCalendar year = 2028, Month (1–12) = 229 calendar days. February 2028. First day = Tuesday · 1 February 2028, Last day = Tuesday · 29 February 2028, First ISO week = 2028-W05, Last ISO week = 2028-W09Compare the length and both weekdays with the ordinary year.
A leap centuryCalendar year = 2000, Month (1–12) = 229 calendar days. February 2000. First day = Tuesday · 1 February 2000, Last day = Tuesday · 29 February 2000, First ISO week = 2000-W05, Last ISO week = 2000-W09The century exception itself has a divisible-by-400 exception.
A common centuryCalendar year = 2100, Month (1–12) = 228 calendar days. February 2100. First day = Monday · 1 February 2100, Last day = Sunday · 28 February 2100, First ISO week = 2100-W05, Last ISO week = 2100-W08Future tests help catch a rule that only checks divisibility by four.
January after ISO week 53Calendar year = 2021, Month (1–12) = 131 calendar days. January 2021. First day = Friday · 1 January 2021, Last day = Sunday · 31 January 2021, First ISO week = 2020-W53, Last ISO week = 2021-W04Look at the first ISO label alongside the date's civil year.

February has 29 days when its year is divisible by four, except century years must also divide by 400. The year 2000 divides by 400 and had a 29 February. The year 2100 does not, so February ends on the 28th. This rule is useful when writing an import that accepts historical and future dates. Month lengths for the other months follow the Gregorian month pattern regardless of leap status. January, March, May, July, August, October and December use 31. April, June, September and November use 30.

An ISO week begins on Monday and belongs to the week-year that contains its Thursday. The dates printed near New Year can fall in an ISO week whose year differs from the civil year. Let the result retain the week-year. A label such as “W53” by itself may be ambiguous in a file that spans multiple years. Use ISO week number finder to check any individual date inside the month.

A month can cover different numbers of calendar rows

A calendar often begins its week rows on Monday. A 31-day month starting on Sunday uses only one column in the first row. Three more weekly rows cover 21 days, leaving nine dates. Filling the remaining complete row and then the final partial row produces six rows overall. A 28-day February starting on Monday fits in exactly four. Before matching a report to a paper calendar, check which weekday begins its week rows. A Sunday-first convention lays out the same dates differently.

If you need the first or last Tuesday instead of the official first or last date, use nth weekday of a month. This is helpful when a review committee chooses a specific weekday or when a childcare schedule begins on a Monday. Use both boundary dates to confirm that your chosen occurrence belongs to the month and that a fifth recurrence really appears.

April's last date

Use a calendar period with a 30-day month to inspect the correct inclusive end.

Calendar year = 2026 · Month (1–12) = 4

30 calendar days · April 2026

  • First day · Wednesday · 1 April 2026
  • Last day · Thursday · 30 April 2026
  • First ISO week · 2026-W14
  • Last ISO week · 2026-W18

December that enters next ISO year

The last few civil dates can be in Week 1 of the next week-year. Keep the full label in any export.

Calendar year = 2024 · Month (1–12) = 12

31 calendar days · December 2024

  • First day · Sunday · 1 December 2024
  • Last day · Tuesday · 31 December 2024
  • First ISO week · 2024-W48
  • Last ISO week · 2025-W01

A month containing a full four-week grid

February begins on Monday and ends on Sunday in this year. With Monday-first display the grid has exactly four rows.

Calendar year = 2027 · Month (1–12) = 2

28 calendar days · February 2027

  • First day · Monday · 1 February 2027
  • Last day · Sunday · 28 February 2027
  • First ISO week · 2027-W05
  • Last ISO week · 2027-W08

A month needing six rows

March starts on a Sunday. Draw a Monday-first calendar and check why the last days require the sixth row.

Calendar year = 2026 · Month (1–12) = 3

31 calendar days · March 2026

  • First day · Sunday · 1 March 2026
  • Last day · Tuesday · 31 March 2026
  • First ISO week · 2026-W09
  • Last ISO week · 2026-W14

Translate inclusive dates into an export filter

A monthly snapshot for plain dates can include the first and last dates. A database query over timestamps commonly works more reliably using the first instant of the month inclusive and the first instant of the following month exclusive. For April it can use the interval beginning 1 April and ending just before 1 May. This captures fractions of a second near the very end of April 30. The tool reports dates without times. Apply the reporting zone separately when building a timestamp filter because local midnight and UTC midnight can name different instants.

The same approach helps when comparing a report from one business region with a log in UTC. Agree on what local calendar month the report means, then find its boundary dates and resolve midnight under that region's rules. This is particularly important near a genuine clock change or when the exit of the period takes place across regions. Store the dates as calendar references alongside the actual UTC interval used by your query.

Read a closing date with its stated cutoff

For a monthly submission, a heading such as April report points to the civil month but does not specify when the form closes. An instruction may allow any timestamp through the final day or impose a local closing hour earlier that day. Use this tool to obtain the calendar boundaries, then read the actual submission terms and enter the right time zone in a dated conversion. A common report month can have different cutoff instants for different teams.

Choose the right display for people updating the report

A title such as October 2026 clearly tells readers what period you mean. Pair it with the dates labelled First day and Last day in a workflow that needs inputs. Use 01 October as the date label if an editor can confuse October 1 with another convention. When staff track both a week queue and a monthly target, keep the ISO labels on the report boundaries so the owners of a partial week can see which Monday it belongs to. Check that the designated months really are calendar months.

Month boundary questions

Do the first and last dates have a time zone?

The result describes Gregorian calendar dates. A separate reporting or scheduling step can turn each date into a time and zone. This is useful for keeping a period clear before resolving UTC timestamps.

How can January start in an ISO week from December?

The Monday-through-Sunday week containing early January might have its Thursday in December. That makes December's civil year the ISO week-year for those dates. The result includes the week-year to avoid ambiguity.

Is the last date always a working day?

Each month's final civil date exists independently of the weekly schedule. It may fall on a weekend or holiday. Use a workplace calendar when planning the final working date of a period.

Can I enter 0 for December of the preceding year?

Enter the actual year and a month between 1 and 12. This avoids ambiguous inputs during data entry. For relative steps such as one month before January, use the month movement tool.

Why do some February records show 29 days?

Leap years add 29 February under the Gregorian rule. Check the specific year. The first date still reads 1 February, while the last date and its weekday can differ across years.

Can the tool help design a printed monthly view?

The first weekday determines where the numbered dates begin, and the day count tells you how many cells are needed. Use the last weekday as a simple check on the final position.

A useful next step