# Daily Sync to Local DB for Custom Reports Discrepancies

**URL:** <https://devforum.zoom.us/t/daily-sync-to-local-db-for-custom-reports-discrepancies/9674>\
**Category:** API and Webhooks\
**Created:** [March 26, 2020, 4:10am UTC](https://devforum.zoom.us/t/daily-sync-to-local-db-for-custom-reports-discrepancies/9674 "2020-03-26T04:10:13Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 26, 2020, 9:24pm UTC](https://devforum.zoom.us/t/daily-sync-to-local-db-for-custom-reports-discrepancies/9674/5 "2020-03-26T21:24:18Z")

</div>

Hey @msmythers, glad you have found the issue! 🙂

Our APIs store all dates in UTC time. There is no way to query based on timezone.

To account for this, you can use a timezone offset ([JavaScript example](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset)) to figure out the local time from UTC time, and then adjust your request to include the next UTC day.

Thanks,  
Tommy

---

_[View the full topic](https://devforum.zoom.us/t/daily-sync-to-local-db-for-custom-reports-discrepancies/9674)._
