Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[d_1 + (y\,\text{years}) + (m\,\text{months}) + (\delta\,\text{days}) = d_2,\]
d_1 + (y\,\text{years}) + (m\,\text{months}) + (\delta\,\text{days}) = d_2,
Formula (extracted LaTeX)
\[\textbf{BusinessDays} = |\{ d\in[d_1,d_2] : d\notin H,\; \text{weekday}(d)\in\{\text{Mon..Fri}\}\}|.\]
\textbf{BusinessDays} = |\{ d\in[d_1,d_2] : d\notin H,\; \text{weekday}(d)\in\{\text{Mon..Fri}\}\}|.
Formula (extracted text)
\(\textbf{TotalDays} = d_2 - d_1 + \mathbb{1}_{\{\text{inclusive}\}}\) \(\textbf{Weeks}\,=\,\left\lfloor\dfrac{\text{TotalDays}}{7}\right\rfloor,\quad \textbf{RemainderDays}=\text{TotalDays}\bmod 7\) For calendar breakdown (Years–Months–Days), let \(d_1\) be the start date and \(d_2\) the end date (with \(d_2\ge d_1\)). We find integers \(y,m,\delta\) such that: \[ d_1 + (y\,\text{years}) + (m\,\text{months}) + (\delta\,\text{days}) = d_2,\] with \(0\le m<12\) and \(0\le \delta < \text{daysInMonth}(d_1+y\,\text{years}+m\,\text{months})\). This is computed by advancing years then months, adjusting for month lengths and leap years per Gregorian rules. Business days count excludes Saturdays and Sundays and removes any listed holidays \(H\subseteq[d_1,d_2]\): \[\textbf{BusinessDays} = |\{ d\in[d_1,d_2] : d\notin H,\; \text{weekday}(d)\in\{\text{Mon..Fri}\}\}|.\]
Variables and units
  • No variables provided in audit spec.
Sources (authoritative):
  • ISO 8601 standard — iso.org · Accessed 2026-01-19
    https://www.iso.org/standard/70907.html
  • Home — calcdomain.com · Accessed 2026-01-19
    https://calcdomain.com/
  • Everyday Life — calcdomain.com · Accessed 2026-01-19
    https://calcdomain.com/lifestyle-everyday
  • Time and Date — calcdomain.com · Accessed 2026-01-19
    https://calcdomain.com/subcategories/time-date
  • RFC 3339 — rfc-editor.org · Accessed 2026-01-19
    https://www.rfc-editor.org/rfc/rfc3339
  • Time Duration Calculator — calcdomain.com · Accessed 2026-01-19
    https://calcdomain.com/time-duration-calculator
  • Workdays Calculator — calcdomain.com · Accessed 2026-01-19
    https://calcdomain.com/workdays-calculator
  • Age Calculator — calcdomain.com · Accessed 2026-01-19
    https://calcdomain.com/age-calculator
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
  • Initial audit spec draft generated from HTML extraction (review required).
  • Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
  • Confirm sources are authoritative and relevant to the calculator methodology.
Verified by Ugo Candido on 2026-01-19
Profile · LinkedIn
Ad Placement (300×600)

Why this calculator

  • Accurate leap‑year and month‑length handling (ISO 8601).
  • Business days with optional holidays.
  • Accessible, mobile‑first and print‑friendly.

Related tools

  • Time Duration Calculator
  • Workdays Calculator
  • Age Calculator

CalcDomain

Your trusted source for free online calculators. Accurate, fast, and reliable calculations for every need.

Categories

  • Construction
  • Construction & DIY
  • Engineering
  • Finance
  • General
  • Health & Fitness
  • Lifestyle & Everyday
  • Math
  • Math & Conversions
  • Science

Popular Tools

  • Mortgage Calculator
  • Percentage Calculator
  • BMI Calculator
  • Auto Loan Calculator
  • House Affordability

Support

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service
  • Site Map

© 2025 CalcDomain. All Rights Reserved. | Free Online Calculators for Everyone