Solved

API dates in UTC?

  • 24 February 2022
  • 1 reply
  • 22 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?

icon

Best answer by Joe Duffy 24 February 2022, 16:51

View original

1 reply

Userlevel 3
Badge

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

Reply