REST API updatedAt value is off by 2 hours | Community
Skip to main content
May 20, 2015
Solved

REST API updatedAt value is off by 2 hours

  • May 20, 2015
  • 1 reply
  • 1059 views

I have my main user set to Time Zone America/Los_Angeles and I have the API user set to the same Time Zone.  Using the main Lead Database on the market web site, the updated date displays May 19, 2015 5:38 pm, but the REST API is returning 2015-05-19 19:38.  I would expect the API to either return UTC or to return Los_Angeles local time.  Instead, it is returning Central Standard Time.  Could it be that the REST servers are in Chicago?

How do I get the API to return the correct date values?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by

Hi Paul

I had the same question and finally,my answer is don't worry the REST server where is.

Summer time is also.

SOAP and REST api is using TIMEZONE GMT-5:00 every time.

In using API, we have to change timezone as we need.

1 reply

Accepted solution
May 20, 2015

Hi Paul

I had the same question and finally,my answer is don't worry the REST server where is.

Summer time is also.

SOAP and REST api is using TIMEZONE GMT-5:00 every time.

In using API, we have to change timezone as we need.

May 22, 2015

That math does work.  Thanks.