0

After querying the records from the LeadHistory, timing difference is occurring when compared to system time and records time.

Unable to understand why the difference is coming like that?

  • 1
    Could be an issue of time zone.Check your user's time zone – Mr.Frodo Jun 7 '16 at 6:12
  • What timie field do you mean? – Artur Kępczyński Jun 7 '16 at 6:38
1

In backend all time stamps(dateTime field values) are stored as Coordinated Universal Time (UTC).

https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_dateformats.htm

If you are running History report Date time field values will be displayed in User time zone.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.