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.
- Visitor picks 10:00Booking widget shows local time
- Server saves timeServer assumes UTC, stores 10:00 UTC
- Calendar inviteShows 05:00 or 11:00 local
- Customer no-showStaff and customer differ on the time
The customer picks a slot, but one layer reads it in the wrong zone.
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
Compare to a trusted clock
Search 'current time' for your city and note it. You will compare every setting below with it.
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.
Check the server
On a Linux server run
dateandtimedatectl. In PHP,echo date_default_timezone_get();shows the PHP zone.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.
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.
Schedule a test promo
Set a sale or content item to end a few minutes ahead and see when it actually ends.
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 a city zone
Go to Settings > General > Timezone and pick a city (for example London or New York), not a UTC offset. Save.
Check scheduling plugins
WooCommerce sale dates, booking plugins and countdown plugins read this setting. Re-open any scheduled sale and confirm the end time.
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.
Set the store zone
Go to Settings > General > Store defaults and set Time zone. This affects order timestamps and reports.
Check scheduled items
Discount start and end times and product publish dates use the store zone. Edit any active discount and verify the dates.
Check booking apps
Apps have their own zone setting. Open each app's settings and match it.
Check time-based triggers
If tags or banners switch on by date, the JavaScript variable uses the visitor's browser zone. Use a fixed UTC timestamp to compare against.
Use UTC comparison
Compare
Date.now()with a UTC epoch number for the end time so every visitor sees the same cut-off.
Check site and CMS dates
Scheduled publishing uses the time zone shown in the publish dialog. Confirm it matches your business zone.
Check embedded tools
Countdown and booking embeds have their own zone settings. Open each and set it.
Set the location zone
Go to Settings > Business Profile (or Company/Location settings) and set the time zone.
Check calendars
Open each calendar's settings and confirm its availability zone, then check workflow wait steps and send windows.
Set the business zone
In the dashboard open Settings > Business info (or Regional settings) and set the time zone.
Check Wix Bookings
Open each service's availability and confirm the displayed hours.
Set the site zone
Go to Settings > Business Information (or Regional) and choose the time zone.
Check scheduling
If you use Acuity Scheduling, set the zone in its own Business Settings too.
Set the server zone
On Linux run
sudo timedatectl set-timezone UTC(or your zone). Restart PHP or your app so it picks up the change.Store UTC
Store timestamps in UTC in the database and convert for display using a named zone.
Set PHP explicitly
Set
date.timezonein php.ini or calldate_default_timezone_set()once at start-up.
<?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
- CMS or store time zone shows a city name, not a raw offset
dateon the server anddate_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
- 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
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.
Related issues
- OPS-080Cron / scheduled tasks not running (emails, abandoned cart)Fix guide
- OPS-092Hosting migration left old server serving some trafficFix guide
- OPS-078PHP upgrade breaking plugins/formsFix guide
- OPS-084Error display on (PHP warnings shown to visitors)Fix guide
- OPS-072Server out of disk space (uploads, sessions fail)Fix guide
- OPS-073Memory / PHP memory_limit exhausted (white screen)Fix guide