Passing the correct timezone in start_time parameter



I’m trying to create a webinar with a start_time in eastern time, I’m able to create the webinar successfully, but I’m having trouble passing the right timezone in my start_time string. I think the wording in the Zoom API documentation is a bit confusing.

Here is what I’m passing (using the zoomus Rails gem): ‘test title’, type: 5, start_date: “2018-04-24T17:00:00Z”) I’m also passing the host/user id. 

I understand this time format is in GMT: “2018-04-24T17:00:00Z” - with the ‘Z’ signifying GMT. In the documentation it says “In the format “yyyy-MM-dd’T’HH:mm:ss”, should be local time, need to specify the time zone.” - does this mean I need to also pass the separate ‘timezone’ paramater? Or is there a way to substitute ‘Z’ in the start_time string with the timezone I want (eastern time)? Should I just convert my time to GMT before passing it? Any suggestions/insight welcome.



@developer, We support two formats of start_time value,  this format - “2018-04-24T17:00:00Z” is GMT, and this format - “yyyy-MM-dd’T’HH:mm:ss” is local time.

For example:

  1. start_time=“2018-04-24T17:00:00Z”, timezone=“GMT+1:00”, so the local time is 2018-04-24 18:00:00

  2. start_time=“2018-04-24T17:00:00Z”, timezone=“GMT+1:00”, so the local time is 2018-04-24 17:00:00


In the above comment,
2. start_time=“2018-04-24T17:00:00”



Thanks so much! The clarification of  timezome syntax is appreciated


An update on my solution: I decided the cleaniest, easiest way was to convert the time to UTC/GMT and not pass a timezone. In Rails, I did this the following way: “start_time: start_date.utc.iso8601” with 'start_date being a datetime object from the db.