# API Time Format Issue

**URL:** <https://devforum.zoom.us/t/api-time-format-issue/42141>\
**Category:** API and Webhooks\
**Created:** [February 1, 2021, 1:00pm UTC](https://devforum.zoom.us/t/api-time-format-issue/42141 "2021-02-01T13:00:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zenon](https://avatars.discourse-cdn.com/v4/letter/z/ec9cab/32.png) [@zenon](https://devforum.zoom.us/u/zenon)\
**Post date:** [February 1, 2021, 1:00pm UTC](https://devforum.zoom.us/t/api-time-format-issue/42141/1 "2021-02-01T13:00:08Z")

</div>

**Description**  
When running the following code:

```auto
curl -X POST --url https://api.zoom.us/v2/users/<user>/meetings --header 'authorization: Bearer token' -H "Content-Type: application/json" --data '{"topic":"Meeting","type":8,"start_time":"2021-02-01T09:00:00","timezone":"Asia/Singapore","password":"0.1s6k3w9","duration":480,"settings":{"mute_upon_entry":true,"jbh_time":0},"recurrence":{"type":1,"repeat_interval":1,"end_date_time":"2021-02-01T17:00:00"}}'

```

ends up with the following result.

```auto
{"uuid":"==","id":85310832382,"host_id":"<id>","host_email":"<email>","topic":"Meeting","type":8,"status":"waiting","timezone":"Asia/Singapore","created_at":"2021-02-01T12:47:24Z","start_url":"https://us02web.zoom.us/s/85310832382?zak=eyJ6bV9za20iOiJ6bV9vMm0iLCJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJjbGllbnQiLCJ1aWQiOiItR2ZTTVMtb1R2YTJZXzJTZzlNRUt3IiwiaXNzIjoid2ViIiwic3R5IjoxMDAsIndjZCI6InVzMDIiLCJjbHQiOjAsInN0ayI6IlNqNjZ3enNWSkt3QldjYkh0SnpsQWR4S1pNcF9odnhhMXdLelU4X0hzZTQuQmdZc1ZYSjNZbTFTWkhwNGJrZEhXVk5WT0dvME9IWTNNREZKY1RsQmIyaElSQ3RJTDI5Sk0wWm5UMGhhYXoxQVltTXlOekl5TlRNd01tTTJOR015WVdVeVlXVTRaVEZoT1RFeVpETm1aV0l6WVdZM01EYzFNamsyTURjNU0yUmpOVEF6T0RrM09UaGxNamxsWmpRNE53QU1NME5DUVhWdmFWbFRNM005QUFSMWN6QXlBQUFCZDEyaUtGY0FFblVBQUFBIiwiZXhwIjoxNjEyMTkwODQ0LCJpYXQiOjE2MTIxODM2NDQsImFpZCI6Im5LODFVcUFHU2stZGNtQ2dvQ3lKNlEiLCJjaWQiOiIifQ.NvKmCzRuH9lMhPGOIItS7Vsz_btKj1QRFrVQCbbOS3k","join_url":"https://us02web.zoom.us/j/85310832382?pwd=OTQ4c2pYNXY5MXg5eFZjVGV1NHRsZz09","password":"0.1s6k3w9","h323_password":"693532508","pstn_password":"693532508","encrypted_password":"OTQ4c2pYNXY5MXg5eFZjVGV1NHRsZz09","occurrences":[{"occurrence_id":"1612227600000","start_time":"2021-02-02T01:00:00Z","duration":480,"status":"available"},{"occurrence_id":"1612314000000","start_time":"2021-02-03T01:00:00Z","duration":480,"status":"available"},{"occurrence_id":"1612400400000","start_time":"2021-02-04T01:00:00Z","duration":480,"status":"available"},{"occurrence_id":"1612486800000","start_time":"2021-02-05T01:00:00Z","duration":480,"status":"available"},{"occurrence_id":"1612573200000","start_time":"2021-02-06T01:00:00Z","duration":480,"status":"available"},{"occurrence_id":"1612659600000","start_time":"2021-02-07T01:00:00Z","duration":480,"status":"available"},{"occurrence_id":"1612746000000","start_time":"2021-02-08T01:00:00Z","duration":480,"status":"available"}],"settings":{"host_video":false,"participant_video":false,"cn_meeting":false,"in_meeting":false,"join_before_host":false,"jbh_time":0,"mute_upon_entry":true,"watermark":false,"use_pmi":false,"approval_type":2,"audio":"both","auto_recording":"none","enforce_login":false,"enforce_login_domains":"","alternative_hosts":"","close_registration":false,"show_share_button":false,"allow_multiple_devices":false,"registrants_confirmation_email":true,"waiting_room":false,"request_permission_to_unmute_participants":false,"global_dial_in_countries":["US"],"global_dial_in_numbers":[{"country_name":"US","number":"+1 3126266799","type":"toll","country":"US"},{"country_name":"US","number":"+1 3462487799","type":"toll","country":"US"},{"country_name":"US","number":"+1 6699006833","type":"toll","country":"US"},{"country_name":"US","number":"+1 9292056099","type":"toll","country":"US"},{"country_name":"US","number":"+1 2532158782","type":"toll","country":"US"},{"country_name":"US","number":"+1 3017158592","type":"toll","country":"US"}],"registrants_email_notification":true,"meeting_authentication":false,"encryption_type":"enhanced_encryption","approved_or_denied_countries_or_regions":{"enable":false},"breakout_room":{"enable":false}},"recurrence":{"type":1,"repeat_interval":1,"end_date_time":"2021-02-08T04:47:00Z"}}

```

**Error**  
Instead of ending the recurrence on the same day, the recurrence ends on Feb 8. I have no idea where that date came from. Is it an issue with the date format?

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT

**Which Endpoint/s?**  
`https://api.zoom.us/v2/users/<user>/meetings`

**How To Reproduce (If applicable)**  
See above

**Screenshots (If applicable)**  
If applicable, add screenshots to help explain your problem.

**Additional context**  
I know the end date is the same date, but I have the same issue even when it isn’t. Adding the timezone explicitly doesn’t work either. Adding Z works, but breaks the timezone format.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [February 1, 2021, 10:09pm UTC](https://devforum.zoom.us/t/api-time-format-issue/42141/2 "2021-02-01T22:09:13Z")

</div>

Hey @zenon,

Thank you for reaching out to the Zoom Developer Forum. Do you see the same issue if you remove the `recurrence` object from your request?

```json
  "recurrence": {
    "type": 1,
    "repeat_interval": 1,
    "end_date_time": "2021-02-01T17:00:00"
  }

```

With how that request is formed, it’s enabling recurring meetings but setting an end date before the meeting has a chance to have another occurrence. If that makes sense.

What is your use case for setting the `recurrence` field?

Thanks,  
Max

---

<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:** [March 4, 2021, 8:09am UTC](https://devforum.zoom.us/t/api-time-format-issue/42141/3 "2021-03-04T08:09:54Z")

</div>

Closed on March 4, 2021, 8:09am UTC

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