Please talk me through time zones sllllloooooowwwwwwwly

I’m on the struggle bus with time zones in a booking system. It hasn’t clicked. And I’m pretty novice with formulas in Airtable in general.

I started off “wrong” so I’m trying to adapt formulas in a system that’s already live. I can’t simply start over.

Basically, I’ve got folks from all over the globe signing up for 30 minute time slots. I had made Offical Time of Event MY time zone, thinking AirTable would be smart enough to convert to the user’s time zone and back to mine (like Outlook does).

Once I realized that it doesn’t, I tried applying formulas that I don’t understand. Basically, copy and paste because I need to understand before I can truly apply. I want to understand! Especially because copy and paste isn’t working.

My booking system is showing my time and the conversion to GMT OK, but User’s Local Time is horribly off, especially in the empty slots.

Can someone point out all the things?

The formula I’m using in User’s Local Time of Event stands at
IF(AND({Official Time of Event},{Official Time Zone of Event}),DATEADD({Official Time of Event},-{Time in GMT},‘hour’))

If I mess with it, I get errors.

Welcome to the community, @susanesny!

Time zones are nearly impossible to work with in Airtable, as @Cherry can testify to! :wink:

I see that you downloaded my time zone base to use as your starting point, but you might have missed the training video that goes along with it.

If you hover over the little “i” button (the “information” button) that appears in the column headers for 4 of the fields in my base, you will see that there are some important notes that appear.

The notes help to explain that it’s not just a matter of getting all of the formulas right, but it’s also a matter of getting all of the “GMT Time Zone” toggles right as well!

Compare your base to my base, field-by-field, and see if that makes a difference!

I see the "i"s and I did watch the video. Did I mention I’m on the struggle bus?

In the Official Time of Event column, I don’t have a “GMT” option to turn on, per se. Are you saying I have to use GMT - period? I can’t simply adapt the formula to convert from America/New_York?

Actual and Official might be tripping me up. Which one is GMT only and which one is the local time of the event?

In your example, is Official Time of Event in Official Time Zone or GMT? I’m so confused. If I turn my Official Time to GMT that will change all my times? I’m so confused.

error

Why? Do people drink while they Airtable?

1 Like

Hi Susan,

Timezones are a joy in Aritable! Here’s a video to help you normalize this a little: The Problem with Time & Timezones - Computerphile - YouTube

As for your issue in Airtable, who is actually using your base? Just you or also the people around the world who are also booking calls with you?

If it’s just you, then keep the timezone set to NYC is fine.
If you need people from all over the world to use it, you can either let everyone know this time is in NYC only or have everyone use Airtable in their local time.

1 Like

Here is how I deal with time zones.

  • For date/time fields, have Airtable show the local time and display the time zone.

  • In some cases it makes sense to have Airtable always display the time in a particular timezone.

  • Date only fields always have a time of GMT midnight when used in formula fields.

  • Regardless of the timezone used to display the date/time in its own field, under the hood the date/time is stored in GMT and will be in GMT when used in formulas unless you convert the time zone using SET_TIMEZONE(). Typically only do this when converting the date/time to a text string.

  • If a formula field returns a date/time object (not a text string that looks like a date/time, always check the formatting options for setting the timezone. If you don’t have the formatting options for a date/time, your formula doesn’t return a date/time object.

  • Avoid setting a field to use GMT for everyone but then treating the displayed time as local time. This will mess you up if you try to do any sort of integration with other services. This is also completely unnecessary now that Airtable allows you to set a timezone for a date/time field.

  • Prefilling times in a form is a mess. Avoid if at all possible.

1 Like

I’m using a form to collect times for people who do not have access to the base. My form doesn’t display the time zone at all – despite the fact that I’m pulling the information of available time slots.

times-no zones

I could just say all times are Eastern, but then the math is on the user – and math is hard when folks are in Australia or the Philippines.

How do you avoid prefilling times in a form? What’s the goal there? Pick a time by email seems similar.

I probably don’t understand.

Lol! it’s highly possible! :clinking_glasses:

Oh damn, I forgot that they changed the description in the formatting options. The “same time zone” toggle used to say the word “GMT” there because it was ONLY GMT time zone, but now there’s a popup menu to choose the time zone.

So yes, what you will want to do is enable the “same time zone” option and choose “GMT/UTC” from the popup menu. Do this for any fields where I previously said to “turn on GMT” for those fields.

At some point, I’m going to need to go back and update my training video & my base instructions!! :crazy_face:

p.s. In general, I’m not 100% convinced that Airtable is the world’s best system to use for handling events that need to be accessed by users across multiple time zones. Time zones were handled much more elegantly in FileMaker, but that is a full-blown programming language that requires working with a Certified FileMaker Developer who can write all the programming code for you. That is what I used to do before becoming an Airtable Consultant! I can still refer people to other top-notch FileMaker developers, if they’re interested.

It can sometimes be easier to use an online appointment scheduling calendar app like Calendly, and then use Make.com to send all the data into Airtable from there. Of course, that won’t work for every use-case scenario.

I think next time I will explore Calendly. We already pay for Airtable and I’m comitted to understanding it. Give me 9 years… at which time everything will completely change on me… but I digress.

Back to your example, Scott. Official Time of Event is set to GMT, but the time used is, say, the Los Angeles Event time? We’re essentially lying to Airtable by saying, yeah, we’re using GMT, but actually, the Los Angeles Event is at 8:30 a.m. Pacific Time… and that’s why there’s an Actual GMT time of Event, where we fess up to the lie in the “Offical Time” column?

That right?

Airtable does not handle this use case well.

I highly recommend using Calendly or some other appointment booking software that has support to timezone baked into the system.

The “Actual GMT Time of Event” is an irrelevant field — it can be hidden or deleted. That’s just to show you what’s happening behind the scenes.

While not strictly for Airtable, I wrote a guide on how we manage the three different date-type fields in Noloco.

The way I see it there are 3 anyway:

  • Date fields (without time)
  • Date & time fields with the current user’s timezone
  • Date & time fields with a fixed timezone

I give examples of when you would choose each.

For your booking example, I would just use a standard date and time field, because Airtable will present the input to the user in their local timezone, and you will always see it in your local timzone.

Anything else is generally incorrect.

The rule of thumb is
You should only really specify a timezone when the location of the event is important, like an airplane taking off, or if you are 100% certain nobody from another timezone will need to see the date field, but even then you’d be better off with the standard one.

The odd exception is if you want to store dates in UTC/GMT format which is handy for integrations, but when you use it in an integration it will be in this format anyway.

Hope this helps

1 Like

Welcome to the community, @darragh!

Thanks for this great information!

Would you be interested in posting an announcement about Noloco.io in our Show and Tell category?

I think your product is a great product for people to know about – it’s a great competitor to GlideApps and other portal tools!

Thanks Scott - thanks for the invite.

I think that’s a great idea. Is that a post I should prepare myself? Happy to take this to DMs to prevent it derailing the timezone discussion

1 Like

Great, @darragh! I see you created your post here:

1 Like