Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[\Delta d = \mathrm{days}(d_2) - \mathrm{days}(d_1)\]
\Delta d = \mathrm{days}(d_2) - \mathrm{days}(d_1)
Formula (extracted LaTeX)
\[\Delta y = y_2 - y_1,\quad \Delta m = m_2 - m_1,\quad \Delta d' = d_2 - d_1\]
\Delta y = y_2 - y_1,\quad \Delta m = m_2 - m_1,\quad \Delta d' = d_2 - d_1
Formula (extracted LaTeX)
\[\mathrm{add}(y,m,d; \Delta y,\Delta m,\Delta d) = \mathrm{clampEOM}\bigl(y+\Delta y,\; m+\Delta m,\; d\bigr) + \Delta d\]
\mathrm{add}(y,m,d; \Delta y,\Delta m,\Delta d) = \mathrm{clampEOM}\bigl(y+\Delta y,\; m+\Delta m,\; d\bigr) + \Delta d
Formula (extracted LaTeX)
\[\mathrm{bizdays}(d_1,d_2,H)=\sum_{t=d_1}^{d_2-1}\mathbf{1}\bigl(\mathrm{weekday}(t)\in\{1,\dots,5\}\land t\notin H\bigr)\]
\mathrm{bizdays}(d_1,d_2,H)=\sum_{t=d_1}^{d_2-1}\mathbf{1}\bigl(\mathrm{weekday}(t)\in\{1,\dots,5\}\land t\notin H\bigr)
Formula (extracted LaTeX)
\[\mathrm{week}(d)=\mathrm{ISOWeekNumber}(d),\quad \mathrm{weekday}_{\mathrm{ISO}}\in\{1\ldots7\}\]
\mathrm{week}(d)=\mathrm{ISOWeekNumber}(d),\quad \mathrm{weekday}_{\mathrm{ISO}}\in\{1\ldots7\}
Formula (extracted text)
Date difference (days): \[ \Delta d = \mathrm{days}(d_2) - \mathrm{days}(d_1) \] Y–M–D breakdown (proleptic Gregorian): \[ \Delta y = y_2 - y_1,\quad \Delta m = m_2 - m_1,\quad \Delta d' = d_2 - d_1 \] Adjust \(\Delta m,\Delta d'\) by borrowing/carrying based on month lengths and leap-year rules. Add/Subtract with end-of-month safety: \[ \mathrm{add}(y,m,d; \Delta y,\Delta m,\Delta d) = \mathrm{clampEOM}\bigl(y+\Delta y,\; m+\Delta m,\; d\bigr) + \Delta d \] where \(\mathrm{clampEOM}\) sets the day to the month's last valid day if needed. Business days, excluding weekends & holidays: \[ \mathrm{bizdays}(d_1,d_2,H)=\sum_{t=d_1}^{d_2-1}\mathbf{1}\bigl(\mathrm{weekday}(t)\in\{1,\dots,5\}\land t\notin H\bigr) \] ISO week number (ISO 8601): \[ \mathrm{week}(d)=\mathrm{ISOWeekNumber}(d),\quad \mathrm{weekday}_{\mathrm{ISO}}\in\{1\ldots7\} \]
Variables and units
  • No variables provided in audit spec.
Sources (authoritative):
  • ISO overview — iso.org · Accessed 2026-01-19
    https://www.iso.org/iso-8601-date-and-time-format.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
  • ISO week date summary — en.wikipedia.org · Accessed 2026-01-19
    https://en.wikipedia.org/wiki/ISO_week_date
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

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

, '

Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[\Delta d = \mathrm{days}(d_2) - \mathrm{days}(d_1)\]
\Delta d = \mathrm{days}(d_2) - \mathrm{days}(d_1)
Formula (extracted LaTeX)
\[\Delta y = y_2 - y_1,\quad \Delta m = m_2 - m_1,\quad \Delta d' = d_2 - d_1\]
\Delta y = y_2 - y_1,\quad \Delta m = m_2 - m_1,\quad \Delta d' = d_2 - d_1
Formula (extracted LaTeX)
\[\mathrm{add}(y,m,d; \Delta y,\Delta m,\Delta d) = \mathrm{clampEOM}\bigl(y+\Delta y,\; m+\Delta m,\; d\bigr) + \Delta d\]
\mathrm{add}(y,m,d; \Delta y,\Delta m,\Delta d) = \mathrm{clampEOM}\bigl(y+\Delta y,\; m+\Delta m,\; d\bigr) + \Delta d
Formula (extracted LaTeX)
\[\mathrm{bizdays}(d_1,d_2,H)=\sum_{t=d_1}^{d_2-1}\mathbf{1}\bigl(\mathrm{weekday}(t)\in\{1,\dots,5\}\land t\notin H\bigr)\]
\mathrm{bizdays}(d_1,d_2,H)=\sum_{t=d_1}^{d_2-1}\mathbf{1}\bigl(\mathrm{weekday}(t)\in\{1,\dots,5\}\land t\notin H\bigr)
Formula (extracted LaTeX)
\[\mathrm{week}(d)=\mathrm{ISOWeekNumber}(d),\quad \mathrm{weekday}_{\mathrm{ISO}}\in\{1\ldots7\}\]
\mathrm{week}(d)=\mathrm{ISOWeekNumber}(d),\quad \mathrm{weekday}_{\mathrm{ISO}}\in\{1\ldots7\}
Formula (extracted text)
Date difference (days): \[ \Delta d = \mathrm{days}(d_2) - \mathrm{days}(d_1) \] Y–M–D breakdown (proleptic Gregorian): \[ \Delta y = y_2 - y_1,\quad \Delta m = m_2 - m_1,\quad \Delta d' = d_2 - d_1 \] Adjust \(\Delta m,\Delta d'\) by borrowing/carrying based on month lengths and leap-year rules. Add/Subtract with end-of-month safety: \[ \mathrm{add}(y,m,d; \Delta y,\Delta m,\Delta d) = \mathrm{clampEOM}\bigl(y+\Delta y,\; m+\Delta m,\; d\bigr) + \Delta d \] where \(\mathrm{clampEOM}\) sets the day to the month's last valid day if needed. Business days, excluding weekends & holidays: \[ \mathrm{bizdays}(d_1,d_2,H)=\sum_{t=d_1}^{d_2-1}\mathbf{1}\bigl(\mathrm{weekday}(t)\in\{1,\dots,5\}\land t\notin H\bigr) \] ISO week number (ISO 8601): \[ \mathrm{week}(d)=\mathrm{ISOWeekNumber}(d),\quad \mathrm{weekday}_{\mathrm{ISO}}\in\{1\ldots7\} \]
Variables and units
  • No variables provided in audit spec.
Sources (authoritative):
  • ISO overview — iso.org · Accessed 2026-01-19
    https://www.iso.org/iso-8601-date-and-time-format.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
  • ISO week date summary — en.wikipedia.org · Accessed 2026-01-19
    https://en.wikipedia.org/wiki/ISO_week_date
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

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

]], displayMath: [['\\[','\\]']] }, svg: { fontCache: 'global' } };

Audit: Complete
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[\Delta d = \mathrm{days}(d_2) - \mathrm{days}(d_1)\]
\Delta d = \mathrm{days}(d_2) - \mathrm{days}(d_1)
Formula (extracted LaTeX)
\[\Delta y = y_2 - y_1,\quad \Delta m = m_2 - m_1,\quad \Delta d' = d_2 - d_1\]
\Delta y = y_2 - y_1,\quad \Delta m = m_2 - m_1,\quad \Delta d' = d_2 - d_1
Formula (extracted LaTeX)
\[\mathrm{add}(y,m,d; \Delta y,\Delta m,\Delta d) = \mathrm{clampEOM}\bigl(y+\Delta y,\; m+\Delta m,\; d\bigr) + \Delta d\]
\mathrm{add}(y,m,d; \Delta y,\Delta m,\Delta d) = \mathrm{clampEOM}\bigl(y+\Delta y,\; m+\Delta m,\; d\bigr) + \Delta d
Formula (extracted LaTeX)
\[\mathrm{bizdays}(d_1,d_2,H)=\sum_{t=d_1}^{d_2-1}\mathbf{1}\bigl(\mathrm{weekday}(t)\in\{1,\dots,5\}\land t\notin H\bigr)\]
\mathrm{bizdays}(d_1,d_2,H)=\sum_{t=d_1}^{d_2-1}\mathbf{1}\bigl(\mathrm{weekday}(t)\in\{1,\dots,5\}\land t\notin H\bigr)
Formula (extracted LaTeX)
\[\mathrm{week}(d)=\mathrm{ISOWeekNumber}(d),\quad \mathrm{weekday}_{\mathrm{ISO}}\in\{1\ldots7\}\]
\mathrm{week}(d)=\mathrm{ISOWeekNumber}(d),\quad \mathrm{weekday}_{\mathrm{ISO}}\in\{1\ldots7\}
Formula (extracted text)
Date difference (days): \[ \Delta d = \mathrm{days}(d_2) - \mathrm{days}(d_1) \] Y–M–D breakdown (proleptic Gregorian): \[ \Delta y = y_2 - y_1,\quad \Delta m = m_2 - m_1,\quad \Delta d' = d_2 - d_1 \] Adjust \(\Delta m,\Delta d'\) by borrowing/carrying based on month lengths and leap-year rules. Add/Subtract with end-of-month safety: \[ \mathrm{add}(y,m,d; \Delta y,\Delta m,\Delta d) = \mathrm{clampEOM}\bigl(y+\Delta y,\; m+\Delta m,\; d\bigr) + \Delta d \] where \(\mathrm{clampEOM}\) sets the day to the month's last valid day if needed. Business days, excluding weekends & holidays: \[ \mathrm{bizdays}(d_1,d_2,H)=\sum_{t=d_1}^{d_2-1}\mathbf{1}\bigl(\mathrm{weekday}(t)\in\{1,\dots,5\}\land t\notin H\bigr) \] ISO week number (ISO 8601): \[ \mathrm{week}(d)=\mathrm{ISOWeekNumber}(d),\quad \mathrm{weekday}_{\mathrm{ISO}}\in\{1\ldots7\} \]
Variables and units
  • No variables provided in audit spec.
Sources (authoritative):
  • ISO overview — iso.org · Accessed 2026-01-19
    https://www.iso.org/iso-8601-date-and-time-format.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
  • ISO week date summary — en.wikipedia.org · Accessed 2026-01-19
    https://en.wikipedia.org/wiki/ISO_week_date
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

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