Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Submission timestamp stored in UTC but shown as local: fix

DLV-231Low impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

UTC is the standard way for software to store time. It has no daylight saving and no regional offset. A form plugin, database or CRM often saves 2025-03-14 14:05:00 in UTC. That is correct storage.

The bug appears when another tool reads that value and labels it as local time, or when two tools use different timezone settings. A lead who submitted at 9:05 in New York shows as 14:05. Nothing is lost. The time is simply shown wrongly.

Where the time goes wrong
  1. Visitor submits formLocal time 09:05 (UTC-5)
  2. Saved as UTC14:05 with no zone label
  3. Passed to CRM or emailZone label dropped
  4. Shown as localTeam reads 14:05 as local

The stored value is fine. The display step treats UTC as local.

Why it costs you leads or sales

The direct impact is low, because no lead is lost. The cost comes from decisions based on wrong times.

Where wrong times hurt
  • Speed-to-lead reports look worse or better than reality.
  • Sales reps call outside agreed hours or think a lead is old when it is fresh.
  • Business-hours routing and auto-replies trigger at the wrong time.
  • Reports by day or hour put leads in the wrong bucket near midnight.
  • Matching CRM records to ad platform conversions is harder when times differ.
Reported response time vs real response timeExample numbers
Reported response time vs real response time (example)Real response time: 10 minutes; Reported with offset: 310 minutes011923810310Real response timeReported with offsetminutes

Example: a 5-hour offset makes a 10-minute reply look like 310 minutes (or a negative number) in reports.

How to check if your site has it

Run a manual test
  1. Submit a test lead and note the time

    Write down the exact local time and your timezone, for example 09:05 New York.

  2. Find the entry in each place it lands

    Check the form plugin entry, the notification email, the CRM record and any spreadsheet or report.

  3. Compare each time to your note

    A gap equal to your UTC offset (for example 5 hours) means UTC is shown as local.

  4. Check if the zone is labelled

    Look for a suffix such as UTC, Z or +00:00. If there is none, the value is ambiguous.

  5. Test near a daylight saving change

    If the offset changes by an hour at some times of year, a fixed offset is hard-coded somewhere.

How to fix it

Pick one rule: store in UTC, convert to a named timezone (such as America/New_York, not a fixed offset) when you display, and label the zone. Then set each tool to match.

Fix by platform
  1. Set the site timezone

    Go to Settings > General > Timezone and choose a city (for example New York), not a UTC offset. This handles daylight saving.

  2. Check the form plugin

    Many plugins use the site timezone for entries and the {date} or {time} merge tags. Confirm with a test entry.

  3. Fix custom output

    In theme or plugin code use wp_date() instead of date() so the site timezone is applied.

Convert a UTC timestamp for display with a named zonejavascript
const utc = '2025-03-14T14:05:00Z';
const shown = new Intl.DateTimeFormat('en-US', {
  timeZone: 'America/New_York',
  dateStyle: 'medium',
  timeStyle: 'short',
  timeZoneName: 'short'
}).format(new Date(utc));
console.log(shown); // Mar 14, 2025, 10:05 AM EDT
Timestamp in the notification email

Before

  • Submitted: 2025-03-14 14:05
  • No zone shown
  • Team assumes local time

After

  • Submitted: 14 Mar 2025, 10:05 AM EDT
  • Zone shown
  • Same time in email, CRM and reports

How to confirm it's fixed

Re-test
  1. Submit a new test lead

    Note the local time and zone again.

  2. Compare every destination

    Entry, email, CRM and report should all show the same moment, within a minute.

  3. Check a user in another timezone

    Ask a colleague elsewhere to view the record. They should see their own local time or a labelled zone.

  4. Re-check workflows

    Confirm business-hours rules and auto-replies fire at the intended local times.

How to prevent it happening again

Habits that keep times consistent
  • Store UTC and convert only for display.
  • Use named timezones, never fixed offsets.
  • Show the zone next to every timestamp in emails and exports.
  • Align timezone settings in the site, form tool, CRM and reporting tools.
  • Re-test after changing CRM, form plugin or hosting, and after daylight saving changes.
  • Use ISO 8601 with a zone when sending timestamps between systems.

How FunnelGuard handles this

This issue is outside what FunnelGuard checks. FunnelGuard runs your journeys on a schedule and verifies steps, tracking hits and whether test leads arrive in the inbox and CRM. It does not audit how a timestamp is formatted or which timezone a CRM field displays.

The kind of tool that fits is a data-quality or reporting check: a CRM report or workflow that compares record creation time with an expected time, or a scheduled test in your own code that asserts the timezone format. A manual test lead, as described above, also works well.

Questions people ask

Why is my form submission time wrong in my CRM?

The time is usually stored in UTC and shown as if it were local, or the form tool and CRM use different timezone settings. The gap equals your UTC offset. Check the timezone in both tools and whether a zone label is sent with the time.

Should I store timestamps in UTC or local time?

Store them in UTC and convert to a named local timezone when you display them. UTC avoids daylight saving problems and makes data from different regions comparable. Always show the zone next to the time in emails and reports.

How do I change the timezone for form entries in WordPress?

Go to Settings > General > Timezone and pick a city rather than a UTC offset. Most form plugins use this setting for entry times. Submit a test entry to confirm, and use wp_date() in custom code.

Why is my lead time off by exactly one hour?

A one-hour error often means daylight saving is handled wrongly, for example a fixed offset is used instead of a named timezone. Switch the setting to a city-based zone such as Europe/London or America/Chicago.

Why does my Shopify order email show a different time to my admin?

The notification template may print the raw UTC value, or an app may use its own timezone. Check Settings > General > Time zone and the date filter used in the notification template.

Does a UTC timestamp bug lose leads?

No. The lead is saved, only the displayed time is wrong. It can still distort response-time reports, business-hours routing and daily counts, so it is worth fixing.

Can FunnelGuard detect a wrong timezone on submissions?

No. FunnelGuard does not check timestamp formats or timezones. A CRM report, a data-quality check or a manual test lead is the right way to catch this.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

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.