Skip to main content
Solved

API dates in UTC?

  • February 24, 2022
  • 1 reply
  • 39 views

Is the timestamp that I’m getting in the API endpoints in UTC?

For example, in the CARDS endpoint, the field ‘dateCreated’ is giving me the timestamp in UTC or local? Can you confirm that the same applies for the rest of endpoints as well?

Best answer by Joe Duffy

Hi @idevi97!

You are correct - all of the dates across all of our endpoints are returned in UTC. If you would like to do any filtering on dates, you’ll also have to pass the dates to the endpoint in UTC.

Thanks!

Joe

1 reply

Joe Duffy
Guru Employee
Forum|alt.badge.img
  • Guru Employee
  • Answer
  • February 24, 2022

Hi @idevi97!

You are correct - all of the dates across all of our endpoints are returned in UTC. If you would like to do any filtering on dates, you’ll also have to pass the dates to the endpoint in UTC.

Thanks!

Joe