Contentful logo

Contentful Community

What is the time zone of date field returned by Snapshot API

I have created a webhook that tracks the changes made to content types by using snapshot API. we have been using it in Toronto,Canada i.e. Eastern time zone. But sanpshot API is showing a different time zone. My question is what is the time zone that snapshot API is showing and is it possible if we can use our time zone to display?

Hi @nakaur , the Snapshot endpoint usually returns dates ending with ‘Z’ (example here: Content Management API | Contentful). This format is the equivalent of UTC, and I’m afraid you will need to manipulate the display date on your end if you would like to have a different time zone displayed.