Days Until Target Date
Calculator

Inputs

Days until the target date
103

Results

Days until the target date
103
Weeks until the target date
14.714285
Hours until the target date
2,472
Target date is in the past (1 = yes)
0

Time and date results

Days until the target date103
Weeks until the target date14.714285
Hours until the target date2,472
Target date is in the past (1 = yes)0

formula-map diagram

Days until the target date
103
Weeks until the target date
14.714285
Hours until the target date
2,472
Target date is in the past (1 = yes)
0

Time relationship

Formula

days until target = target date − current date, in whole calendar days

= 103

Note

This is a simplified model: it uses fixed conversions (60 minutes per hour, 24 hours per day, 7 days per week, 365 days per year) and ignores leap years, daylight saving changes, public holidays and irregular month lengths. Check the result against a real calendar before relying on it.

Example: with the default inputs, calculator.timedate.days_until_target is 103.

More in Time and date

See all →

Frequently asked questions

How do I count the days until a target date?+

Enter the current date and the target date as year, month and day. The result is the target date minus the current date, in whole calendar days.

What does a negative result mean?+

If the target is earlier than the current date, the number of days is negative and the "is past" flag is set to 1.

What other figures does it show?+

It also shows the same span in weeks (days ÷ 7) and in hours (days × 24).

Does it count only business days?+

No. It counts every calendar day, weekends included. For working days only, use the business days calculator.

Does the calculator read today's date automatically?+

No. You enter the current date yourself, so you can also measure the gap between any two dates.