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?

2
  • 1
    Could be an issue of time zone.Check your user's time zone
    – Mr.Frodo
    Commented Jun 7, 2016 at 6:12
  • What timie field do you mean? Commented Jun 7, 2016 at 6:38

1 Answer 1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .