A monthly activity file may represent Dublin civil dates even when every raw record uses UTC. Choose the reporting zone first. A timestamp near midnight can belong to different months in different zones.
If the report includes all of July, use the first instant of 1 July inclusive and the first instant of 1 August exclusive in the selected zone. This retains late fractional-second events without requiring an artificial last-second cutoff.
Use civil month boundaries to reproduce the main comparisons.
Pros and cons of the approach
Pros. An exclusive next-month boundary can be shared by two consecutive reports without duplication.
Cons. An export made in a default server zone can classify records differently from a Dublin business calendar. Confirm the actual report rule.
Store the named reporting zone and filter boundaries with the monthly identifier.
Give the export a reporting zone
Keep the date labels from the month finder and resolve their local midnights separately before implementing the filter. Test the record just before the next month starts and a record at the boundary.
Verify actual dates in export examples
Check both an ordinary 30-day month and a February result to catch an assumption that every month ends on the same day.
| Recorded example | First setting | First result | Comparison setting | Comparison result |
|---|---|---|---|---|
| Calendar records for 12 August 2026 and 12 September 2026 | Inspect 2026-08-12 | Saturday · 1 August 2026 to Monday · 31 August 2026 · 31 calendar days | Inspect 2026-09-12 | Tuesday · 1 September 2026 to Wednesday · 30 September 2026 · 30 calendar days |
| Calendar records for 4 January 2024 and 10 January 2024 | Inspect 2024-01-04 | 2024-W01 with weekday 4 · 2024-004 | Inspect 2024-01-10 | 2024-W02 with weekday 3 · 2024-010 |
| Calendar records for 10 September 2026 and 10 October 2026 | Inspect 2026-09-10 | Tuesday · 1 September 2026 to Wednesday · 30 September 2026 · 30 calendar days | Inspect 2026-10-10 | Thursday · 1 October 2026 to Saturday · 31 October 2026 · 31 calendar days |
| Calendar records for 27 September 2026 and 27 October 2026 | Inspect 2026-09-27 | Tuesday · 1 September 2026 to Wednesday · 30 September 2026 · 30 calendar days | Inspect 2026-10-27 | Thursday · 1 October 2026 to Saturday · 31 October 2026 · 31 calendar days |
| Calendar records for 25 October 2026 and 25 November 2026 | Inspect 2026-10-25 | Thursday · 1 October 2026 to Saturday · 31 October 2026 · 31 calendar days | Inspect 2026-11-25 | Sunday · 1 November 2026 to Monday · 30 November 2026 · 30 calendar days |
| Calendar records for 4 January 2028 and 10 January 2028 | Inspect 2028-01-04 | 2028-W01 with weekday 2 · 2028-004 | Inspect 2028-01-10 | 2028-W02 with weekday 1 · 2028-010 |
| Calendar records for 25 December 2026 and 25 January 2027 | Inspect 2026-12-25 | Tuesday · 1 December 2026 to Thursday · 31 December 2026 · 31 calendar days | Inspect 2027-01-25 | Friday · 1 January 2027 to Sunday · 31 January 2027 · 31 calendar days |
Preserve the original timestamp and its derived civil date in an audit file, especially for records on the last evening of the month.
What belongs in the final record
Preserve the original timestamp and its derived civil date in an audit file, especially for records on the last evening of the month.
Calendar records for 30 January 2027 and 28 February 2027
A reporter working from UTC timestamps should determine the desired local civil date first. A midnight rollover in the reporting zone can change the calendar key even though the original event instant remains fixed.
Inspect 2027-01-30. Friday · 1 January 2027 to Sunday · 31 January 2027 · 31 calendar days. Inspect 2027-02-28. Monday · 1 February 2027 to Sunday · 28 February 2027 · 28 calendar days.
The source anchors are 2027-01-30 and 2027-02-28. Preserve the calendar or reporting convention alongside these whole dates before deriving the label.
The last Gregorian date is included in a monthly civil roster. If a source records timestamps, the first instant of the next month provides a cleaner exclusive endpoint for filtering events than a hand-written last second of this month.
Calendar records for 16 March 2027 and 16 April 2027
Inspect 2027-03-16. Monday · 1 March 2027 to Wednesday · 31 March 2027 · 31 calendar days. Inspect 2027-04-16. Thursday · 1 April 2027 to Friday · 30 April 2027 · 30 calendar days.
The last Gregorian date is included in a monthly civil roster. If a source records timestamps, the first instant of the next month provides a cleaner exclusive endpoint for filtering events than a hand-written last second of this month.
The source anchors are 2027-03-16 and 2027-04-16. Preserve the calendar or reporting convention alongside these whole dates before deriving the label.
A reporter working from UTC timestamps should determine the desired local civil date first. A midnight rollover in the reporting zone can change the calendar key even though the original event instant remains fixed.
Calendar month and week boundary checks
The following examples compare two successive calendar months. Check both an ordinary 30-day month and a February result to catch an assumption that every month ends on the same day.
Calendar records for 13 July 2026 and 13 August 2026
A reporter working from UTC timestamps should determine the desired local civil date first. A midnight rollover in the reporting zone can change the calendar key even though the original event instant remains fixed.
Inspect 2026-07-13. Wednesday · 1 July 2026 to Friday · 31 July 2026 · 31 calendar days. Inspect 2026-08-13. Saturday · 1 August 2026 to Monday · 31 August 2026 · 31 calendar days.
The source anchors are 2026-07-13 and 2026-08-13. Preserve the calendar or reporting convention alongside these whole dates before deriving the label.
The last Gregorian date is included in a monthly civil roster. If a source records timestamps, the first instant of the next month provides a cleaner exclusive endpoint for filtering events than a hand-written last second of this month.
Calendar records for 14 July 2026 and 14 August 2026
Inspect 2026-07-14. Wednesday · 1 July 2026 to Friday · 31 July 2026 · 31 calendar days. Inspect 2026-08-14. Saturday · 1 August 2026 to Monday · 31 August 2026 · 31 calendar days.
The last Gregorian date is included in a monthly civil roster. If a source records timestamps, the first instant of the next month provides a cleaner exclusive endpoint for filtering events than a hand-written last second of this month.
The source anchors are 2026-07-14 and 2026-08-14. Preserve the calendar or reporting convention alongside these whole dates before deriving the label.
A reporter working from UTC timestamps should determine the desired local civil date first. A midnight rollover in the reporting zone can change the calendar key even though the original event instant remains fixed.
Calendar records for 19 July 2026 and 19 August 2026
The last Gregorian date is included in a monthly civil roster. If a source records timestamps, the first instant of the next month provides a cleaner exclusive endpoint for filtering events than a hand-written last second of this month.
- Inspect 2026-07-19 · Wednesday · 1 July 2026 to Friday · 31 July 2026 · 31 calendar days
- Inspect 2026-08-19 · Saturday · 1 August 2026 to Monday · 31 August 2026 · 31 calendar days
A reporter working from UTC timestamps should determine the desired local civil date first. A midnight rollover in the reporting zone can change the calendar key even though the original event instant remains fixed.
The source anchors are 2026-07-19 and 2026-08-19. Preserve the calendar or reporting convention alongside these whole dates before deriving the label.
Calendar records for 4 January 2027 and 10 January 2027
The source anchors are 2027-01-04 and 2027-01-10. Preserve the calendar or reporting convention alongside these whole dates before deriving the label.
| Applied choice | Computed value |
|---|---|
| Inspect 2027-01-04 | 2027-W01 with weekday 1 · 2027-004 |
| Inspect 2027-01-10 | 2027-W01 with weekday 7 · 2027-010 |
The ISO week and ordinal label describe different classifications. The week belongs to the year containing that week’s Thursday. The ordinal counts forward from 1 January inside the civil year. Neither label changes the original civil date.
A reporter working from UTC timestamps should determine the desired local civil date first. A midnight rollover in the reporting zone can change the calendar key even though the original event instant remains fixed.
Calendar records for 27 July 2026 and 27 August 2026
A reporter working from UTC timestamps should determine the desired local civil date first. A midnight rollover in the reporting zone can change the calendar key even though the original event instant remains fixed.
Inspect 2026-07-27. Wednesday · 1 July 2026 to Friday · 31 July 2026 · 31 calendar days. Inspect 2026-08-27. Saturday · 1 August 2026 to Monday · 31 August 2026 · 31 calendar days.
The source anchors are 2026-07-27 and 2026-08-27. Preserve the calendar or reporting convention alongside these whole dates before deriving the label.
The last Gregorian date is included in a monthly civil roster. If a source records timestamps, the first instant of the next month provides a cleaner exclusive endpoint for filtering events than a hand-written last second of this month.
Calendar records for 4 August 2026 and 4 September 2026
Inspect 2026-08-04. Saturday · 1 August 2026 to Monday · 31 August 2026 · 31 calendar days. Inspect 2026-09-04. Tuesday · 1 September 2026 to Wednesday · 30 September 2026 · 30 calendar days.
The last Gregorian date is included in a monthly civil roster. If a source records timestamps, the first instant of the next month provides a cleaner exclusive endpoint for filtering events than a hand-written last second of this month.
The source anchors are 2026-08-04 and 2026-09-04. Preserve the calendar or reporting convention alongside these whole dates before deriving the label.
A reporter working from UTC timestamps should determine the desired local civil date first. A midnight rollover in the reporting zone can change the calendar key even though the original event instant remains fixed.
Calendar records for 4 January 2025 and 10 January 2025
The source anchors are 2025-01-04 and 2025-01-10. Preserve the calendar or reporting convention alongside these whole dates before deriving the label.
| Applied choice | Computed value |
|---|---|
| Inspect 2025-01-04 | 2025-W01 with weekday 6 · 2025-004 |
| Inspect 2025-01-10 | 2025-W02 with weekday 5 · 2025-010 |
The ISO week and ordinal label describe different classifications. The week belongs to the year containing that week’s Thursday. The ordinal counts forward from 1 January inside the civil year. Neither label changes the original civil date.
A reporter working from UTC timestamps should determine the desired local civil date first. A midnight rollover in the reporting zone can change the calendar key even though the original event instant remains fixed.
Calendar records for 3 June 2027 and 3 July 2027
A reporter working from UTC timestamps should determine the desired local civil date first. A midnight rollover in the reporting zone can change the calendar key even though the original event instant remains fixed.
Inspect 2027-06-03. Tuesday · 1 June 2027 to Wednesday · 30 June 2027 · 30 calendar days. Inspect 2027-07-03. Thursday · 1 July 2027 to Saturday · 31 July 2027 · 31 calendar days.
The source anchors are 2027-06-03 and 2027-07-03. Preserve the calendar or reporting convention alongside these whole dates before deriving the label.
The last Gregorian date is included in a monthly civil roster. If a source records timestamps, the first instant of the next month provides a cleaner exclusive endpoint for filtering events than a hand-written last second of this month.
Questions readers may need to resolve
What cutoff includes all of July?
Use the first instant of August as an exclusive end in the intended reporting zone.
Why avoid the final written second of the month?
The original record can contain fractions of a second after that written position. The next boundary retains all earlier instants.
Should the report store ISO week as well?
Store it separately if users need weekly groupings. The ISO week-year and calendar month have independent definitions.
How do I determine the first and last weekdays?
Use the month boundaries tool with the actual month and year, then inspect its first and last date rows.
Can an event in July UTC appear in August locally?
Yes. Applying a positive offset before midnight can place the local date in August while the instant stays the same.
What if organisers use an accounting period instead?
Use the posted period boundaries for that report. A calendar month tool can provide a comparison but does not model a custom fiscal period.
Does February use the same ending date every year?
February includes 29 in Gregorian leap years. Confirm the actual year when building the filter.
Can two exports meet at the same instant?
Yes, with the first ending exclusively and the second beginning inclusively. This is a useful boundary design to check with test records.