About Delivery Countdown
About Delivery Countdown
A live delivery promise for product pages: "Order within 3h 12m for delivery Thursday, Sep 3." It works out the next dispatch deadline from your cutoff time, your working days and your holidays, then counts down to it.
Holidays, which is where these usually go wrong
An order placed on 23 December, two to four days in transit, with no holiday list: the answer comes back Friday 25 December. Christmas Day. Fill the holidays in and the same order correctly reads 28 to 30 December.
Enter 2026-12-25 for one year or 12-25 for every year, and the date closes for both dispatch and delivery.
Dispatch days and delivery days are not the same set
The warehouse ships Monday to Friday; the carrier delivers Monday to Saturday. Collapsing those into one "business days" toggle quietly loses a day on every Friday order, so here they are two independent sets.
Your words
Two sentences — one for while the countdown runs, one for when the deadline is further out — with {countdown} {date} {deadline} {cutoff} {day} to drop the real values in. Eight date formats, editable month and weekday names, and your own unit labels, so it reads naturally in any language.
Built properly
Every date step is exact UTC arithmetic, so a daylight-saving change can never shift the promise by a day. The countdown is written straight to the DOM: React re-renders when the answer changes, not once a second, and it stops ticking off screen and in background tabs.
Nothing is calculated during pre-render, so no wrong date ever reaches the HTML search engines read. The delivery date is a real time element with a machine-readable datetime, and screen readers are given a stable phrase instead of the ticking number.
Optional OfferShippingDetails structured data, off by default.
Support
Questions or trouble setting it up? Write to vitorcoc008@gmail.com

