CCalclabhub

Time & Dates

Days between two dates (Age From Date Of Birth)

Because both dates are day counts from the same epoch, the difference is the exact number of days between them.

Last updated

The Formula

Days = JDN(reference) - JDN(birth)

Because both dates are day counts from the same epoch, the difference is the exact number of days between them.

SymbolMeaning
JDN birthBirth day number
JDN refReference day number

What Each Symbol Means

JDN birthday

Birth day number

The Julian day number of the birth date.

JDN refday

Reference day number

The Julian day number of the reference date.

See It Worked With Real Numbers

A formula on its own does not tell you which number goes where. The how to calculate age from date of birth page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.

Where This Formula Appears

This equation is the working core of How To Calculate Age From Date Of Birth, filed under Everyday Life. Every number the guide produces comes from substituting into this one line.

Common Questions

What is the formula for Days between two dates (Age From Date Of Birth)?

The formula for Days between two dates (Age From Date Of Birth) is Days = JDN(reference) - JDN(birth). Because both dates are day counts from the same epoch, the difference is the exact number of days between them.

What does each symbol in Days between two dates (Age From Date Of Birth) stand for?

JDN birth is birth day number; JDN ref is reference day number.

What units should I use with Days between two dates (Age From Date Of Birth)?

Substitute JDN birth in day, JDN ref in day. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.

What is a common mistake when using Days between two dates (Age From Date Of Birth)?

Forgetting leap years. A naive calculation that multiplies years by three hundred and sixty-five misses the leap days. Using a day number handles them automatically.