Time & Calendar
Intermediate

Days Between Two Dates

Number of days separating two calendar dates.

Formula

Δ=JDN2JDN1\Delta = JDN_2 - JDN_1

Variables

JDN_1,JDN_2Julian Day Numbers of the dates

Example

From 2000-01-01 to 2000-12-31 ⇒ 365 days

Did You Know?

Converting both dates to a single running day count sidesteps every leap-year and month-length headache.