# Show a calendar according to the user timezone

**URL:** <https://community.glideapps.com/t/show-a-calendar-according-to-the-user-timezone/19428>\
**Category:** Ask for Help\
**Created:** [December 5, 2020, 8:07pm UTC](https://community.glideapps.com/t/show-a-calendar-according-to-the-user-timezone/19428 "2020-12-05T20:07:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stef](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/stef/32/48261_2.png) [@Stef](https://community.glideapps.com/u/Stef)\
**Post date:** [December 5, 2020, 8:07pm UTC](https://community.glideapps.com/t/show-a-calendar-according-to-the-user-timezone/19428/1 "2020-12-05T20:07:51Z")

</div>

Hello,  
I searched for this topic but I can’t reproduce it.

I have users from all over the world. I’d like them to see the event calendar in their current time zone, local time.

So I have a USER table / EVENT Table / TIMEZONE Table

TIMEZONE Table: I listed all the timezone and offset + I calculated the difference (D) between my timezone (GMT+1)

USER Table : I have the user Timezone that they have to fill in their profile.

EVENT table : I have the DATE (in GMT+1)

What’s the next step to show the calendar with the correct time zone in their local time?

I know that I have to do a math column between the DATE (GMT+1) and the difference (D) but impossible to do it in EVENT Table because I can’t find the way to find the difference (D) for each user.

Thank you very much for your help

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 5, 2020, 9:30pm UTC](https://community.glideapps.com/t/show-a-calendar-according-to-the-user-timezone/19428/2 "2020-12-05T21:30:27Z")

</div>

You should be able to pull in the user timezone into the event sheet from the user sheet using a single value column if you happen to have row owners enabled as well. If you aren’t using row owners in the user sheet, then you should be able to create a template column that will get the user’s email from the user profile, use that template to create a relation to the user sheet, then a lookup column to get the timezone offset. Finally a math column to calculate the difference.

Keep in mind that glide’s calculated columns are calculated on the device, not in the sheet, so the results will be different for each user.

---

<div class="post-metadata">

**Author:** ![Stef](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/stef/32/48261_2.png) [@Stef](https://community.glideapps.com/u/Stef)\
**Post date:** [December 9, 2020, 12:39pm UTC](https://community.glideapps.com/t/show-a-calendar-according-to-the-user-timezone/19428/3 "2020-12-09T12:39:26Z")

</div>

Thank you Jeff but still struggling.

1. I pulled in the user timezone into the event sheet from the user sheet using a single value column. I have row owners in the user sheet.

So in the event sheet (where each row is an event), you can see the results.  
Did I miss something? 😢

![Capture d’écran 2020-12-09 à 13.21.57](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/8/68d49c1950bc26997c25f06a58b699207aea1514.png) ![Capture d’écran 2020-12-09 à 13.23.22](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/2/22a5d071e860f09a53bc5cc18631907653ccc1f0.png)

 ![Capture d’écran 2020-12-09 à 13.31.05](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/3/b316d1516d67896635504c01809276c326058260.png)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 9, 2020, 2:41pm UTC](https://community.glideapps.com/t/show-a-calendar-according-to-the-user-timezone/19428/4 "2020-12-09T14:41:00Z")

</div>

Can you show how your math column is set up for new date?

---

<div class="post-metadata">

**Author:** ![Stef](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/stef/32/48261_2.png) [@Stef](https://community.glideapps.com/u/Stef)\
**Post date:** [December 9, 2020, 3:25pm UTC](https://community.glideapps.com/t/show-a-calendar-according-to-the-user-timezone/19428/5 "2020-12-09T15:25:39Z")

</div>

Ah I forgot to add /24

Thank you very much Jeff!!!

---

<div class="post-metadata">

**Author:** ![DareSteps](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/daresteps/32/11716_2.png) [@DareSteps](https://community.glideapps.com/u/DareSteps)\
**Post date:** [January 21, 2021, 9:54pm UTC](https://community.glideapps.com/t/show-a-calendar-according-to-the-user-timezone/19428/6 "2021-01-21T21:54:03Z")

</div>

Hey Jeff, how would Row Owner help in terms of timezones? I have an app that confuses me when shifts for admins show differently! Would row owners help? Never tried it out tho!

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [January 21, 2021, 11:58pm UTC](https://community.glideapps.com/t/show-a-calendar-according-to-the-user-timezone/19428/7 "2021-01-21T23:58:44Z")

</div>

As I understand, row owners don’t directly help for timezones. It is just a security method to let users ownly download rows that “belong” to them.

So the points Jeff suggested, if you don’t want to enable row owners, should go like this:

- Find a way to have the timezone offset of each user in the user profiles.
- Create a template with the signed-in user’s email in the Shifts sheet.
- Create a relation matching that template with the user’s email column in the Profiles sheet.
- Take back the timezone via a lookup.
- Use a math column to calculate the specific timezone for each signed in user.
