# Dealing with timezones on meeting creation

**URL:** <https://devforum.zoom.us/t/dealing-with-timezones-on-meeting-creation/54442>\
**Category:** API and Webhooks\
**Created:** [July 20, 2021, 4:51pm UTC](https://devforum.zoom.us/t/dealing-with-timezones-on-meeting-creation/54442 "2021-07-20T16:51:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![luizgribeiro](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/luizgribeiro/32/29326_2.png) [@luizgribeiro](https://devforum.zoom.us/u/luizgribeiro)\
**Post date:** [July 20, 2021, 4:51pm UTC](https://devforum.zoom.us/t/dealing-with-timezones-on-meeting-creation/54442/1 "2021-07-20T16:51:47Z")

</div>

I am trying to set a meeting `start_time` for a specific `timezone` but I couldn’t get it working properly.  
The `start_time` that I’m passing in request’s body doesn’t have a ‘Z’ as pointed out by de [API docs](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate).

Bellow follows a dump of the request body for meeting creation:

```auto
{
   "duration":180,
   "settings":{
      "approvalType":2,
      "hostVideo":true,
      "meetingAuthentication":true,
      "muteUponEntry":true,
      "participantVideo":true,
      "waitingRoom":true
   },
   "startTime":"2021-07-21T08:00:00.000",
   "timezone":"America/Sao_Paulo",
   "topic":"Meeting Topic",
   "type":2
}

```

Obs: the request keys are shown in camelCase but they’re being hooked and preprocessed to become snake\_case.

With this request body the meetings would still appear in the web interface as GMT time even with the user’s timezone beeing ‘America/Sao\_Paulo’

More info about the app:

- App Type: JWT
- endpoint: /users/{userId}/meetings

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [July 22, 2021, 8:43pm UTC](https://devforum.zoom.us/t/dealing-with-timezones-on-meeting-creation/54442/2 "2021-07-22T20:43:55Z")

</div>

Hey @luizgribeiro,

Can you try trimming the additional ms `000` from your date-time? I think this may be throwing the request off, as we support HH:MM:SS only.

Please keep in mind that the API response will always be in GMT as well.

Let me know if this helps,  
Will

---

<div class="post-metadata">

**Author:** ![luizgribeiro](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/luizgribeiro/32/29326_2.png) [@luizgribeiro](https://devforum.zoom.us/u/luizgribeiro)\
**Post date:** [July 23, 2021, 7:50pm UTC](https://devforum.zoom.us/t/dealing-with-timezones-on-meeting-creation/54442/3 "2021-07-23T19:50:16Z")

</div>

Hey Will,

Thanks for pointing out this.  
My app is working as it should now!

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [July 26, 2021, 6:18pm UTC](https://devforum.zoom.us/t/dealing-with-timezones-on-meeting-creation/54442/4 "2021-07-26T18:18:23Z")

</div>

Great, glad I could help! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 26, 2021, 4:18am UTC](https://devforum.zoom.us/t/dealing-with-timezones-on-meeting-creation/54442/5 "2021-08-26T04:18:53Z")

</div>

Closed on August 26, 2021, 4:18am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
