Show how a UTC event crosses a reporting-day boundary

Analysis

By Isaac Turner, Measurement Editor2 min read

View author profile
Editorial collage hero: measurement-lab-reporting-day-boundary

Two daily reports may disagree because they put the same event on different dates. A reproducible synthetic example with editable inputs and explicit limits.

Two daily reports may disagree because they put the same event on different dates. This lab converts a synthetic hour-of-day using a fixed offset and reports whether it crosses midnight. It is an illustration of a reporting convention, not a timezone database.

Define the calculation before using it

Enter the UTC hour and the reporting offset in hours. Add them, wrap the result into a 24-hour clock and separately count the day offset. Keep those outputs together: a local hour of one without its next-day marker loses the very information the exercise is intended to reveal. Use a real timezone library for production timestamps and daylight-saving transitions.

Work through the synthetic example

An event at 23:00 UTC with a plus-two-hour reporting offset belongs at 01:00 on the following day. The calculator reports hour one and day offset one. A dashboard grouped by the local reporting date and an export grouped by UTC can therefore disagree on daily counts while containing the same underlying events.

Reference table
OutputWorked-example result
Local hour1.0000
Day offset1.0000

Use the artifact and preserve its assumptions

Open the editable calculator to change the inputs and inspect the sensitivity view. The CSV records synthetic inputs and expected outputs; the JSON fixture keeps the equations available for reproduction. These calculations have been checked against the stated example. No measured campaign data is included.

The sensitivity rows vary only offset by 20% below and above the entered value. They are scenarios, not confidence limits or a forecast distribution. A row outside the model’s constraints is labelled rather than turned into a plausible-looking result. Save the chosen inputs with the decision so another reader can distinguish a changed assumption from a changed formula.

Evidence and limits

Google’s export schema defines event_date in the registered app timezone and event_timestamp in UTC. The simplified fixed-offset exercise illustrates why grouping those two fields can produce different daily buckets. See Google Analytics BigQuery Export schema, especially “event_date, event_timestamp, event_value_in_usd and event_params fields”.

Fixed offsets do not capture daylight-saving changes or historical timezone rules. This exercise does not transform real event timestamps and cannot certify a platform’s date-grouping configuration.

Background: UA metrics explained: CPI, ROAS, LTV and payback and Reading an MMP dashboard without fooling yourself. These existing articles provide context; the present calculation does not verify every archived claim.

Featured

Related posts

Using predicted LTV in bids: disclosure checklist for the UA team

measurement

media buying

·

1 min read

Using predicted LTV in bids: disclosure checklist for the UA team

Blended ROAS targets that hide channel failure in F2P portfolios

measurement

media buying

·

1 min read

Blended ROAS targets that hide channel failure in F2P portfolios

Web-shop LTV with VAT-inclusive prices versus store net proceeds (labelled synthetic)

measurement

media buying

·

2 min read

Web-shop LTV with VAT-inclusive prices versus store net proceeds (labelled synthetic)

View-through attribution windows on F2P rewarded and interstitial traffic

measurement

media buying

·

1 min read

View-through attribution windows on F2P rewarded and interstitial traffic

More from the Measurement desk

Airbridge adds Amazon Ads as an app measurement channel

measurement

·

2 min read

Airbridge adds Amazon Ads as an app measurement channel

When to freeze a cohort for payback review (and when not to)

measurement

·

2 min read

When to freeze a cohort for payback review (and when not to)

Web-shop purchaser quality vs store IAP purchaser quality

measurement

·

1 min read

Web-shop purchaser quality vs store IAP purchaser quality

Web-shop attributed revenue in MMP vs payment-provider settlements

measurement

·

1 min read

Web-shop attributed revenue in MMP vs payment-provider settlements