Back to Blog
28 November 20263 min read

Why Your Booking Times Are Always Right, No Matter Where Anyone Is

A booking system doing the wrong thing with time zones is one of those failures that doesn't announce itself -- nobody gets an error message, a time just quietly turns out to be an hour (or more) off from what was actually agreed. Worth understanding why this happens at all, and what it actually takes to avoid it.

The failure is invisible until someone shows up at the wrong time

The common version of this bug: a client books "2pm," the confirmation says "2pm," and the appointment that actually lands in the calendar is 1pm or 3pm, because somewhere between the client's browser, the server, and the database, a time got interpreted in the wrong time zone and nobody corrected it. Nothing crashes. Nothing looks wrong on any single screen. The only sign is a client arriving at the wrong moment, or a staff member noticing a gap that doesn't match what they expected -- and by then the damage is a missed or doubled-up appointment, not a bug report.

This gets worse, not better, around daylight saving changes -- the two weeks a year where "add one hour" silently becomes "add one hour, except not today" are exactly when a naive implementation breaks, because the offset between local time and UTC isn't a fixed number, it changes twice a year on dates that aren't the same across every region.

Why "just store the local time" doesn't actually work

The instinctive-seeming fix -- just save whatever time the client clicked, as text, and show it back the same way -- works right up until anything needs to be compared against anything else: is this slot already booked, is this within business hours, has this appointment's reminder window started yet. Every one of those comparisons needs a single, unambiguous instant in time, not a string that means different things depending on who's reading it. The only way to make "2pm" mean the same actual moment everywhere is to convert it to a fixed, zone-independent point in time the moment it's captured, and only translate it back to a local-looking time for display -- at the business's time zone when staff are looking at the calendar, and consistently so for the client as well.

In ScheduloApp, this conversion happens once, in one place, for every booking read and write -- the business's actual configured time zone is what every date comparison, slot calculation, and reminder window is measured against, not whatever time zone happens to be set on a particular device or server. That's the part that matters: not that time zones are handled, but that they're handled the same way everywhere in the system, so a slot that looks available, a reminder that fires, and a calendar entry that displays are all reasoning about the exact same instant.

What this actually buys you as a business owner

You shouldn't notice any of this, and that's the point. A booking made by a client in a different time zone than your business still lands on your calendar at the time you'd actually expect, not shifted by whatever time zone their phone happened to be set to. A reminder sent "24 hours before" fires 24 hours before the actual appointment, including across the one weekend a year when the clocks change. A staff member looking at "available slots" sees the same slots a client sees, with no silent hour-long gap between what one screen shows and what the other books.

None of this is something you configure or have to get right yourself -- your business time zone is set once, in Settings, and everything downstream of that setting is built to respect it consistently. The only action worth taking on your end: make sure that one setting is actually correct for where your business operates, since everything else inherits from it.

    Why Your Booking Times Are Always Right, No Matter Where Anyone Is - ScheduloApp Blog | ScheduloApp