SOLVED

Re: REST API updatedAt value is off by 2 hours

Go to solution
Anonymous
Not applicable

REST API updatedAt value is off by 2 hours

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: REST API updatedAt value is off by 2 hours

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.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Re: REST API updatedAt value is off by 2 hours

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.

Anonymous
Not applicable

Re: REST API updatedAt value is off by 2 hours

That math does work.  Thanks.