Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Countdown timer shows negative or zero: how to find and fix it

CNV-304Low impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

A countdown timer on a webinar or event registration page counts down to a set moment. The problem is when it displays 00:00:00, a negative value such as -3d -4h, or NaN (a script error meaning "not a number") instead of a real time remaining.

Common causes: the end date was never updated after the last event, the date was typed in a format the script can't parse, the time zone was missed so the timer ends hours early, or an evergreen timer lost the cookie or setting that tells it when to restart.

Why it costs you leads or sales

The countdown is there to create urgency. A timer stuck at zero says the event has started or ended, so visitors leave without registering. A negative number looks broken and hurts trust in the rest of the page, including the form. The direct impact is usually small, which is why this is rated low, but it is cheap to fix and easy to miss because the form itself still works.

How an expired timer loses a registration
  1. Ad or email clickVisitor lands on the registration page
  2. Countdown rendersShows 00:00:00 or a negative value
  3. Visitor reads the pageAssumes the event is over
  4. Registration formNever filled in

The page loads, but the timer breaks the sense of urgency and the visitor leaves before the form.

Registration rate with a working vs broken timerExample numbers
Registration rate with a working vs broken timer (example)Timer working: 24 %; Timer at zero: 15 %09182415Timer workingTimer at zero%

Example: illustrative numbers only, showing how a broken timer can lower the share of visitors who register.

How to check if your site has it

Check your countdown by hand
  1. Open the page in a private window

    Load the registration page without cookies. Check whether the timer shows a sensible future time.

  2. Compare with the real event time

    Work out the time left to the event start in the audience's time zone and compare it with the timer.

  3. Reload and test on mobile

    Reload a few times and open the page on a phone. Evergreen timers sometimes reset only on the first visit.

  4. Open the browser console

    Press F12, open Console and look for errors mentioning Date, NaN or the timer script.

  5. Check every page that carries a timer

    Landing pages, thank-you pages, pop-ups and email-linked pages may each have their own end date.

How to fix it

The fix has three parts: set a valid future end date, state the time zone, and decide what the page shows once the time runs out.

Fix the end date by platform
  1. Find the timer setting

    Open the page in your builder (Elementor, Divi, Gutenberg block or a countdown plugin) and select the countdown widget.

  2. Set a future date and time zone

    Update the due date. If the widget uses the site time zone, check Settings > General > Timezone matches your event.

  3. Set the expired action

    Many countdown widgets let you hide the timer, show a message or redirect when it ends. Choose one.

Countdown with a safe expired statejavascript
const end = new Date('2025-09-18T15:00:00+01:00').getTime();
const el = document.getElementById('countdown');

function tick() {
  const diff = end - Date.now();
  if (Number.isNaN(end) || diff <= 0) {
    el.textContent = 'Registration for this session has closed. Join the next one.';
    clearInterval(timer);
    return;
  }
  const d = Math.floor(diff / 86400000);
  const h = Math.floor(diff / 3600000) % 24;
  const m = Math.floor(diff / 60000) % 60;
  const s = Math.floor(diff / 1000) % 60;
  el.textContent = d + 'd ' + h + 'h ' + m + 'm ' + s + 's';
}
const timer = setInterval(tick, 1000);
tick();
Timer before and after the fix

Before

  • Shows 00:00:00 or -2d -5h
  • End date is from the last event
  • No message when time runs out

After

  • Counts down to the next real session
  • End date includes a time zone
  • Expired state shows a clear message or redirect

How to confirm it's fixed

Confirmation checks
  • The timer shows the right time left in a private window
  • The remaining time matches the event start in your audience's time zone
  • Mobile and desktop show the same value
  • No errors in the browser console
  • Setting the end date to a past time in a test copy shows the expired message, not a negative number
  • Every page and pop-up with a timer was checked

How to prevent it happening again

Add the countdown end date to your event launch checklist, and a task to update or remove it the day after each event. Use an expired state everywhere so a missed update never shows a negative number. If you run evergreen timers, test them in a fresh private window each month. Keep one source of truth for the event date, so the timer, calendar file and emails all match.

How FunnelGuard handles this

FunnelGuard detects this issue only partly. During a scheduled run, the robot visitor loads your registration page and checks for text that should not be there, such as a timer reading zero or negative. That catches the obvious cases where the broken value is shown as plain text on the page.

It does not judge whether the countdown is correct. It can't tell that a timer showing 3 days is really 2 days off, that the time zone is wrong, or that the value differs on a visitor's own device. It doesn't read timers drawn as images or inside embedded frames reliably either.

To cover the rest by hand, compare the timer with the real event start each time you publish or change a session, and recheck it from a different time zone and device. FunnelGuard's Free plan covers 1 site and 2 journeys with daily checks and no card, and every paid plan has a 3-day free trial.

Questions people ask

Why is my countdown timer showing zero?

The end date has most likely passed, so the timer has nothing left to count. Update it to the next real event date, or add an expired state that shows a message instead.

Why does my countdown timer show negative numbers?

The script is subtracting the current time from an end date that is already in the past and not clamping the result. Set a future date and add a check so the timer stops at zero and shows a message.

Why is my countdown timer showing NaN?

NaN means the script couldn't read the date. This usually comes from a date format the browser doesn't accept. Use an ISO 8601 string such as 2025-09-18T15:00:00+01:00.

Why does my countdown end at the wrong time?

The end time was probably entered without a time zone, so it is read in the visitor's or the server's zone. Add an explicit offset to the date, or set the time zone in the timer's settings.

How do I make an evergreen countdown timer reset properly?

Use a timer type based on a duration, such as 24 hours from first visit, and store the start time in a cookie or local storage. If it keeps showing zero, the stored value has probably expired and needs to be reset.

What should a countdown show when it reaches zero?

Show a clear message, redirect to the next session, or swap the timer for a waitlist form. Don't leave it at 00:00:00 or restart it with a fake date.

Can FunnelGuard detect a broken countdown timer?

Partly. It checks the page for text that should be absent, such as a zero or negative timer. It can't confirm that the countdown matches your real event time, so you still need to check that by hand.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: text_absent.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.