A duration between two dates is easy to get wrong by a small amount, and a small amount is enough to matter: a five-year span is not 1,825 days when it contains two leap days. An AI answer can state the years correctly and still miscount the days. Before you use a duration, count the years and the days yourself, including leap days.
OpenAI’s help page lists incorrect dates among the things AI tools can get wrong, and tells users to verify data. A duration is data: check it the same way.
Use the practice date ranges
The date ranges below are synthetic. They are about a fictional library building project, and they were not produced by any AI tool. They are the only source for the exercise.
Practice date ranges — Northfield Library building project:
- Reading room works: 1 June 2019 to 1 June 2024.
- Roof works: 15 January 2018 to 15 January 2026.
- Garden works: 3 March 2025 to 3 September 2025.
Practice AI answer: “The reading room works lasted 5 years, or 1,825 days. The roof works lasted 7 years. The garden works lasted 6 months.”
Check each duration
Expected result. We checked OpenAI’s help page on verifying dates and data. We did not run an AI tool on the practice date ranges. The checked list below is what to expect if the durations are correct; run the same check yourself on the ranges above.
| Date range | AI answer says | Correct duration | Verdict |
|---|---|---|---|
| 1 June 2019 to 1 June 2024 | 5 years, 1,825 days | 5 years, 1,827 days | Wrong — 5 x 365 + 2 leap days = 1,827 days |
| 15 January 2018 to 15 January 2026 | 7 years | 8 years | Wrong — 2026 – 2018 = 8 years |
| 3 March 2025 to 3 September 2025 | 6 months | 6 months | Correct — March to September is 6 months |
Count the leap days
The day count is wrong because the span contains two leap days, 29 February 2020 and 29 February 2024. Five ordinary years would be 1,825 days, but these five years are not all ordinary: 2020 and 2024 are leap years, so the count is 1,825 + 2 = 1,827 days. Any span that crosses 29 February needs that day counted.
To check a duration yourself, subtract the years for whole-year spans, and for days count 365 days per year plus one day for each 29 February inside the span. Say whether your count includes the end date, because including it adds one day.
What to do with each verdict
- Correct: keep the duration, and keep the two dates with it so the next reader can recompute it.
- Wrong: replace it with the duration you counted. Do not keep the wrong duration and add a note; a wrong duration in a report will be copied.
- The end date is unclear: say whether the count includes the end date before you compare; a one-day difference is often just that choice.
Limits
- This guide checks durations between dates in the same calendar. Dates before the Gregorian calendar, or in another calendar, need a different check.
- A duration cannot fix wrong dates. If either date is wrong, the duration will be wrong too.
- Months are not all the same length. A “6 months” span can be 181, 182, 183 or 184 days depending on which months it covers; say days or months, not both, unless you counted both.
- No AI tool was run for this guide. The practice date ranges and answer are synthetic.
Sources
- Does ChatGPT tell the truth? — OpenAI Help Center — Hallucination can include incorrect dates; always verify quotes, data, technical information or references to external documents.
