# Datetimes when calling/retrieving data from the Zoom API

**URL:** <https://devforum.zoom.us/t/datetimes-when-calling-retrieving-data-from-the-zoom-api/18566>\
**Category:** API and Webhooks\
**Created:** [May 21, 2020, 11:04am UTC](https://devforum.zoom.us/t/datetimes-when-calling-retrieving-data-from-the-zoom-api/18566 "2020-05-21T11:04:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarkWalsh](https://avatars.discourse-cdn.com/v4/letter/m/ecae2f/32.png) [@MarkWalsh](https://devforum.zoom.us/u/MarkWalsh)\
**Post date:** [May 21, 2020, 11:04am UTC](https://devforum.zoom.us/t/datetimes-when-calling-retrieving-data-from-the-zoom-api/18566/1 "2020-05-21T11:04:40Z")

</div>

Hello,

Are the To and From query parameters expected to be passed as UTC datetimes, specifically for this endpoint?

> **[List All Recordings - Cloud Recording - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingslist)**
>
> When a user records a meeting by choosing the Record to the Cloud option, the video, audio, and chat text are recorded in the Zoom cloud. 
> 
> Use this API...

Also, the datetimes which are returned, are these also UTC datetimes?

Thanks,  
MArk

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [May 22, 2020, 9:50pm UTC](https://devforum.zoom.us/t/datetimes-when-calling-retrieving-data-from-the-zoom-api/18566/2 "2020-05-22T21:50:59Z")

</div>

Hi @MarkWalsh, the datetimes in these query params (and in the response) are YYYY-MM-DD, so when converting from full UTC, it should not have H,M,S.

For example, in python:

```python
start = date.today()

to = date.today() - timedelta(30)

query_params = '?' + 'from=' + \
    to.strftime("%Y-%m-%d") + '&' + 'to=' + start.strftime("%Y-%m-%d")

```

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:30pm UTC](https://devforum.zoom.us/t/datetimes-when-calling-retrieving-data-from-the-zoom-api/18566/3 "2020-08-21T21:30:29Z")

</div>

Closed on August 21, 2020, 9:30pm UTC


