Re: datetime timezone wrong

SanfordWhiteman
Level 10 - Community Moderator

Re: datetime timezone wrong

Please answer my previous question, reading via the API. It's an essential question, what you're seeing here is a display value.

Raviv_Erel
Level 2

Re: datetime timezone wrong

i will able to test it just next week...lets said i am getting the value..where else do i need to look ?

SanfordWhiteman
Level 10 - Community Moderator

Re: datetime timezone wrong

Please show your account settings page.

Raviv_Erel
Level 2

Re: datetime timezone wrong

English
English (United States)
(GMT+02:00) Israel Standard Time (Asia/Jerusalem) (IST)
SanfordWhiteman
Level 10 - Community Moderator

Re: datetime timezone wrong

Can't repro this. The displayed time is in my local location (I even switched to IST to test), the stored time as expected is in UTC.

How are you testing this? Direct cURL/Postman or passing through some language that may be changing the value?

Raviv_Erel
Level 2

Re: datetime timezone wrong

using the rest api direct

can u show me the json you are sending?

SanfordWhiteman
Level 10 - Community Moderator

Re: datetime timezone wrong

As simple as (with the Push endpoint):

{
"programName": "Maintenance",
"lookupField": "id",
"input": [
{
"id" : 6142120,
"mktoAcquisitionDate" : "2019-11-07T07:51:43Z"
}
]
}
Raviv_Erel
Level 2

Re: datetime timezone wrong

i am using the update lead rest api,

mybe its not working there?

SanfordWhiteman
Level 10 - Community Moderator

Re: datetime timezone wrong

Nope, exactly the same results for me.

Raviv_Erel
Level 2

Re: datetime timezone wrong

can you put a full example and i will try it?