Skip to main content
I'm utilizing an API that reads the "Last modified" time stamp. The time stamp looks accurate in Salesforce, but when I query it, it's returning a timestamp that is five hours behind. I can change the programming to adjust for the five hour differential, but I'd rather figure out why it's off. The timezone settings on both my user profile and company information are correct.

 

Any ideas what would cause this?
3 answers
  1. Jul 12, 2017, 7:55 PM

    Created and LastModified values are stored in UTC, if you're 5 hours behind you'd need to do something like

    LastModifiedDate - ( 5 / 24 )

     

     
0/9000