ON THE TABLE
yeah.technologyCome in. Make yourself at home.
WORKSTATIONSecurity
yeah.technologySUPERINTELLIGENCE DINER · OPEN 24/7
METHOD / EVIDENCE

Days Between Dates Methodology

Transparent methodology for a public Yeah.technology capability.

Core formula

days = (endDate - startDate) / 86400000

Dates are compared at midnight local time. The difference in milliseconds is divided by 86,400,000 (the number of milliseconds in one day) and rounded to the nearest integer.

Business days

Business days exclude Saturday (getDay() = 6) and Sunday (getDay() = 0). Public holidays are not included because they vary by country and region.

Leap years

JavaScript Date handles leap years natively. February has 29 days in leap years (divisible by 4, except century years not divisible by 400).

YEAH.TECHNOLOGY · GOVERNED RUNTIMELOCAL · ONLINE · TOOLS · SECURITY · EVIDENCE
PrivacyTermsLegalAccessibility
AI & evidence

AI results may be wrong or incomplete. Deterministic tools are separate. Check sources, permissions and consequences. Provider and retention depend on the active service.

I cookie necessari al funzionamento restano attivi. Analytics e pubblicità non sono abilitati senza la tua scelta. Puoi accettare o rifiutare con la stessa facilità e modificare la scelta in seguito. Leggi la Privacy Policy e la Cookie Policy.