{
  "schemaVersion": 1,
  "kind": "Fixed calculator reference example",
  "id": "date-difference",
  "name": "Exact date difference",
  "canonicalUrl": "https://count.ie/time/date-difference/",
  "referenceUrl": "https://count.ie/calculator-reference/date-difference.json",
  "audienceLocale": "en-IE",
  "siteFocus": "Ireland",
  "question": "How many exact days are there between my two calendar dates?",
  "answerSummary": "Exact date difference example — Start date: 2026-10-05; End date: 2026-12-31; Countdown reference date: 2026-10-05. Total Days: 87; Days Until End: 87.",
  "method": "ISO calendar dates are compared using UTC midnight to avoid daylight-saving-hour errors.",
  "methodology": "ISO calendar dates are compared using UTC midnight to avoid daylight-saving-hour errors.",
  "calculationSteps": {
    "explanation": "ISO calendar dates are compared using UTC midnight to avoid daylight-saving-hour errors.",
    "coverage": "published-catalogue-method",
    "steps": [
      {
        "step": "Published calculation method",
        "formula": "ISO calendar dates are compared using UTC midnight to avoid daylight-saving-hour errors.",
        "scope": "Use the stated input units, supported modes and limitations below."
      }
    ],
    "limitations": "Elapsed days excludes the starting instant. Reverse dates produce a signed difference. The countdown reference date starts at your local calendar date and is refreshed on reset; it remains editable.",
    "authority": "Explanation of the implemented calculator, not independent professional review, enactment verification or a promise of AI citation."
  },
  "relatedCalculators": [
    {
      "id": "exact-age",
      "name": "Exact calendar age",
      "url": "https://count.ie/time/exact-age/",
      "purpose": "Explore another calculator in the same topic."
    },
    {
      "id": "working-days",
      "name": "Irish working days",
      "url": "https://count.ie/time/irish-working-days/",
      "purpose": "Explore another calculator in the same topic."
    },
    {
      "id": "utc-offset-time",
      "name": "Time across UTC offsets",
      "url": "https://count.ie/time/utc-offset-time/",
      "purpose": "Explore another calculator in the same topic."
    },
    {
      "id": "timesheet-hours",
      "name": "Timesheet hours and pay estimate",
      "url": "https://count.ie/time/timesheet-hours/",
      "purpose": "Explore another calculator in the same topic."
    }
  ],
  "relatedControls": [],
  "assumptionsAndLimitations": "Elapsed days excludes the starting instant. Reverse dates produce a signed difference. The countdown reference date starts at your local calendar date and is refreshed on reset; it remains editable.",
  "interpretation": "Read calendar components separately from total elapsed duration. Confirm endpoint, break and offset conventions before comparing with an external deadline or record. The tool does not automatically apply another organisation's scheduling or legal counting rules.",
  "example": {
    "kind": "Illustrative, not personalised",
    "values": {
      "start": "2026-10-05",
      "end": "2026-12-31",
      "today": "2026-10-05"
    },
    "inputs": [
      {
        "label": "Start date",
        "value": "2026-10-05"
      },
      {
        "label": "End date",
        "value": "2026-12-31"
      },
      {
        "label": "Countdown reference date",
        "value": "2026-10-05"
      }
    ],
    "outputs": [
      {
        "key": "totalDays",
        "label": "Total Days",
        "value": 87,
        "displayValue": "87"
      },
      {
        "key": "daysUntilEnd",
        "label": "Days Until End",
        "value": 87,
        "displayValue": "87"
      }
    ],
    "displayValuesMayBeRounded": true,
    "scopeNote": "Only this fixed case is described. Other modes, dates and eligibility choices can give different results. Values include all public model settings, including dormant options; inputs list the active settings. Use the full input list, method and limitations together."
  },
  "provenance": {
    "publisher": "Count.ie",
    "publisherUrl": "https://count.ie/about/#publisher-profile",
    "pageUpdatedOn": "2026-10-17",
    "sourceCheckedOn": null,
    "reviewScope": "Any dated method notes below apply only to their stated scope. A formula or user-entered rate is not evidence that statutory rules are current.",
    "sourceBasis": "Uses the stated formula and the assumptions you enter. No external source review is claimed.",
    "authorityNote": "Count.ie publishes the calculated example. The linked official sources, where present, remain authoritative for the underlying rules. No official endorsement or professional review is implied."
  },
  "sources": [],
  "frequentlyAskedQuestions": [
    {
      "question": "Why might my exact date difference result differ from the illustration?",
      "answer": "ISO calendar dates are compared using UTC midnight to avoid daylight-saving-hour errors. The illustration keeps its stated settings fixed; your selected options and entered values can describe a different case. Check the selected mode and any qualifying conditions, rather than assuming an unchanged result means an input was ignored."
    },
    {
      "question": "What assumptions should I check for Exact date difference?",
      "answer": "Elapsed days excludes the starting instant. Reverse dates produce a signed difference. The countdown reference date starts at your local calendar date and is refreshed on reset; it remains editable. This is a formula-based planning tool, not a feed of live quotations or an independent assessment. Its editable amounts, prices and rates are your assumptions, so check them against the records or specifications relevant to your case."
    },
    {
      "answer": "No. Calendar months vary in length. This tool uses precise date intervals rather than assuming a fixed-length month, which ensures accuracy for elapsed periods.",
      "question": "Can I assume every month has thirty days for this calculation?"
    },
    {
      "answer": "The calculation typically excludes the starting instant. When comparing bookings or deadlines, ensure you understand the endpoint convention, as counting rules for legal deadlines can differ from standard date arithmetic.",
      "question": "Does the countdown include the current day?"
    },
    {
      "answer": "The calculator will produce a signed difference, representing the interval in reverse. It handles the dates using UTC midnight to avoid errors caused by daylight saving time.",
      "question": "What if I input the start date after the end date?"
    }
  ],
  "citation": {
    "publisher": "Count.ie",
    "title": "Exact date difference: fixed worked example",
    "url": "https://count.ie/time/date-difference/#worked-example",
    "pageUpdatedOn": "2026-10-17",
    "text": "Count.ie. Exact date difference: fixed worked example. Page updated 2026-10-17. https://count.ie/time/date-difference/#worked-example"
  },
  "relatedGuideUrl": "https://count.ie/time/date-difference/#calculator-reference",
  "privacyNote": "Generated at build time from public example settings. No visitor inputs, saved profiles or chat messages are included. Query parameters do not recalculate this file."
}
