Countdown calculator

Days, weeks, months, hours and business days until a date.

This field is for validation purposes and should be left unchanged.
A wedding, a launch, a holiday, a due date.
Whole days from today, not counting today. If the date has passed, this is days since.
Whole calendar months.
Mondays to Fridays between today and the date; public holidays not excluded.
Weekend days ÷ 2.
For WordPress sites

Put this calculator on your site

Get it as a ready-made Gravity Forms template. Import it, match your colors, publish.

  • Import-ready form file
  • Step-by-step build guide
  • Works with any theme
Get the template · $9 Read the free build guide Requires Gravity Forms (any license), GP Advanced Calculations (Gravity Wiz).
Advertisement
GravityKit

How it's calculated

The days to go are the whole days between today and the date, counted from midnight to midnight so the result does not change through the day. Weeks and the leftover days split that by seven; months count whole calendar months; hours are days times 24. Business days use a counting trick: the number of weekdays from a fixed Monday up to any day is five per full week plus the weekdays in the partial week, so weekdays between two dates is that count at the end less the count at the start.

Days = datediff(today, date) Weeks = floor(Days ÷ 7), remainder = Days mod 7 Business days = F(date) − F(today), F(x) = floor(x ÷ 7) × 5 + min(x mod 7, 5)
Does the countdown include today?

No. It counts whole midnights between today and the date, so the day before the event shows 1 and the event day shows 0. Add one if you want to count today as a day you still have.

How many business days until Christmas?

From Tuesday 20 October 2026 it is 66 days, 48 of them weekdays and 9 weekends. Public holidays are not excluded, so take off Thanksgiving and the Friday after for a US office, which makes it 46 working days.

Can I count to a time of day, or in a different time zone?

Not here: the tool works in whole days using the site's time zone. For an exact moment, a clock-based countdown that updates every second is a different kind of tool. For a date on the far side of the world, the day count can be off by one around midnight.

Advertisement
Gravity Wiz

Results are estimates for informational purposes only and are not financial, medical or legal advice.