Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Server time zone wrong: fix booking and promo end times

OPS-083Medium impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Every system that handles dates has a time zone setting: the server operating system, PHP, the database, your CMS, your booking or CRM tool, and the visitor's browser. When they disagree, the same moment is shown as different clock times. A sale set to end at midnight may end at 5 pm, or a 10:00 booking slot may appear as 09:00 or 15:00.

Why it costs you leads or sales

Customers book a slot and arrive at the wrong time, or find it unavailable. Promotions end early, so you lose sales you meant to make, or end late, so you honour a discount you meant to stop. Countdown timers show the wrong deadline and damage trust. Lead timestamps in your CRM are off, which breaks follow-up rules such as 'call within 5 minutes' and makes reports by hour or day misleading.

How a time zone mismatch ruins a booking
  1. Visitor picks 10:00Booking widget shows local time
  2. Server saves timeServer assumes UTC, stores 10:00 UTC
  3. Calendar inviteShows 05:00 or 11:00 local
  4. Customer no-showStaff and customer differ on the time

The customer picks a slot, but one layer reads it in the wrong zone.

Hours a promo runs past or short of its planExample numbers
Hours a promo runs past or short of its plan (example)Zones match: 0 hours; 1 hour off (DST): 1 hours; 5 hours off: 5 hours; 8 hours off: 8 hours0360158Zones match1 hour off (DST)5 hours off8 hours offhours

Example: how far a sale end time drifts when the site zone differs from the business zone.

How to check if your site has it

Find which layer is wrong
  1. Compare to a trusted clock

    Search 'current time' for your city and note it. You will compare every setting below with it.

  2. Check the CMS setting

    In WordPress open Settings > General and read 'Timezone' and the 'Universal time (UTC) is' line. In Shopify open Settings > General > Store defaults > Time zone.

  3. Check the server

    On a Linux server run date and timedatectl. In PHP, echo date_default_timezone_get(); shows the PHP zone.

  4. Check the booking or CRM tool

    Open the account or calendar settings of your booking, CRM and email tools and confirm each has the correct zone.

  5. Make a test booking

    Book a slot yourself, then compare the time on the confirmation page, the confirmation email, the calendar invite and the CRM record. Note which one differs.

  6. Schedule a test promo

    Set a sale or content item to end a few minutes ahead and see when it actually ends.

Check the server time zone on Linuxbash
date
timedatectl
php -r 'echo date_default_timezone_get(), PHP_EOL;'

How to fix it

The safest pattern is to store times in UTC and convert to a named zone (like Europe/London or America/New_York) only when displaying them. Use named zones, not fixed offsets such as UTC+1, because named zones handle daylight saving changes for you.

Set the time zone by platform
  1. Set a city zone

    Go to Settings > General > Timezone and pick a city (for example London or New York), not a UTC offset. Save.

  2. Check scheduling plugins

    WooCommerce sale dates, booking plugins and countdown plugins read this setting. Re-open any scheduled sale and confirm the end time.

  3. Avoid overriding PHP

    WordPress expects PHP to run in UTC. Do not add date_default_timezone_set() to themes or plugins unless you know why.

Show a stored UTC time in a named zonephp
<?php
$utc = new DateTimeImmutable('2025-11-30 23:59:00', new DateTimeZone('UTC'));
$local = $utc->setTimezone(new DateTimeZone('Europe/London'));
echo $local->format('Y-m-d H:i T');

How to confirm it's fixed

Confirmation checks
  • CMS or store time zone shows a city name, not a raw offset
  • date on the server and date_default_timezone_get() match what you intended
  • A test booking shows the same time on the confirmation page, email, calendar invite and CRM
  • A test promo scheduled a few minutes ahead ends exactly on time
  • Countdown timers show the same deadline from two different browsers or devices
  • Form lead timestamps in the CRM match the real time of your test

How to prevent it happening again

Habits that stop the drift
  • After any hosting move, check server, PHP and CMS time zones as part of the go-live list
  • Use named zones (Europe/London), never fixed offsets
  • Store times in UTC and convert only for display
  • Test a booking and a scheduled sale across the daylight saving change dates in spring and autumn
  • Note the intended time zone for each tool in your documentation
  • Schedule promo end times with a safety margin and review them the day before

How FunnelGuard handles this

FunnelGuard does not check for a wrong server time zone yet. It is a possible future check. FunnelGuard does run your real journeys on a schedule, such as a booking button or lead form, and checks each step and whether test leads reach the inbox and CRM. If a time zone bug breaks a step, for example a booking page that errors, that may show up as a failed journey. A shifted time on its own will usually pass.

To watch for it yourself, make a test booking after every hosting or plugin change and compare the time in each place it appears. Set a calendar reminder around the daylight saving change dates. Also schedule a test promo to end a few minutes ahead and see if it ends on time. You can also use your hosting panel or uptime tool to compare the server clock with a trusted source.

See the effect of a wrong zone

Server and business time zonesInteractive
Time zones do not match

Mismatch

Leads or data lost

A sale set to end at midnight ends hours early or late, and booking times differ between the page, email and calendar.

Toggle the cause to see how a zone mismatch changes what customers experience.

Questions people ask

Why is my website showing the wrong time?

The time zone is usually set wrong in one layer: the server, PHP, your CMS or a plugin. In WordPress, check Settings > General > Timezone. On the server, run timedatectl and compare it with the real local time.

Why do my bookings show the wrong time in the confirmation email?

The booking tool, the website and the email system may each use a different time zone. Check the zone in each, and make a test booking to see which one shifts the time. Set them all to the same named zone.

Why did my sale end at the wrong time?

Scheduled sales use the time zone of the store or CMS, which may be UTC or another zone by default. Set the zone to your business city, then check the end time on active sales and test with one that ends in a few minutes.

How do I change the server time zone?

On Linux, run sudo timedatectl set-timezone Europe/London with your own zone, then restart PHP or your app. On shared hosting, use the control panel's PHP settings or ask support. Many hosts keep the server in UTC on purpose.

Should my server be set to UTC or my local time zone?

UTC is usually best for servers and databases because it never changes with daylight saving. Then convert to a named local zone for display. Your CMS or store setting should use your business's local zone.

Why are my bookings off by one hour twice a year?

This is usually daylight saving time. One tool follows the change and another uses a fixed offset. Switch fixed offsets to named zones such as America/New_York, and test bookings around the change dates.

Does FunnelGuard check my server time zone?

No. FunnelGuard does not check time zones yet. It runs your booking and form journeys and checks that each step works, so you still need a manual test booking to compare the times.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

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.