Day Counter Calculator

Count the days since a date, or the days until a date, in days, weeks, and months.

This day counter tells you how many days have passed since a date, or how many days are left until a date, counting from today or from any date you choose. The result is shown in days, in weeks, and in approximate months, so you can read it whichever way is most useful: days until a wedding, weeks since a project started, or roughly how many months until a deadline. The count uses the real calendar, so leap years and months of different lengths are handled correctly.

This is an estimate for information only, not financial or medical advice.

How it works

Both dates are converted to UTC at midnight and the difference is divided by the number of milliseconds in a day. If the target date is in the past, the result is the number of days since that date; if it is in the future, the result is the number of days until it; if it is today, the count is zero. Weeks are the day count divided by 7, shown as whole weeks plus remaining days. Months are approximate, because calendar months are 28 to 31 days long: the day count is divided by 30.44, the average length of a month in the Gregorian calendar, and the result is clearly labeled approximate.

Days = (target date - as-of date) in days. Weeks = days / 7. Months (approximate) = days / 30.44, because the average month is 30.44 days long.

Worked examples

Target dateAs ofDaysWeeksMonths (approx.)
2026-01-012026-12-01334 days since47 weeks, 5 days10.97 months
2027-01-012026-12-0131 days until4 weeks, 3 days1.02 months
2024-02-292026-12-011,006 days since143 weeks, 5 days33.05 months

Frequently asked questions

What day count of the year is today?

That depends on the date. This counter gives the days since or until a date you pick; for the day of the year, count from January 1 of the same year to today. For example, December 1, 2026 is day 335 of the year.

How many days until my birthday?

Enter your next birthday as the target date and leave the as-of date as today. The result shows the days until it, plus the same span in weeks and approximate months.

Why are the months approximate?

Calendar months are not all the same length: they run from 28 to 31 days. The month figure divides the day count by 30.44, the average month length, so it is a useful estimate rather than an exact count of calendar months.

Does the counter include today in the count?

No. The count is the number of whole days between the two dates. If the target date is today, the count is 0 days; if it is tomorrow, the count is 1 day.

Related calculators