0

I am updating lead with task activity date using a trigger when ever i am creating a new task record on lead object, but there is miss match in date while it is updating on the lead

0

1 Answer 1

0

This happens because of implicit conversion from the salesforce for user Defined timezone to the GMT. When you are creating the task it is creating the task as per user time zone but same date and when you copy it for the lead it will get converted to the GMT.

So its better take the GMT as standard convert it to user defined date and then save the lead record .

Hope this helps.

1
  • can i know how to convert it before updating the lead
    – user6833
    Commented May 9, 2014 at 6:50

You must log in to answer this question.

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