function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
gv007gv007 

inserting custom date field to an event object .WAD or BUG

I am inserting a date value into event object

Event e = new Event();

e.StartDate__c = c.customDate__c;

If i insert today date 

in event object standard layout .I am displaying startdate .it was displaying yesterday.I am in EST time zone last two weeks we are seeing the problem in diff instances

It is was per design or bug

 
neao18neao18
As per design Saleforce stores all date in UTC+0, and based on user' local time zone it display the date like it will add/substract hours based on local.
gv007gv007
As per design it stores in UTC date format.I agree it.But it is not custom page I am displaying.
It is event object details as per design it should showed user locale based.Here user and org locale are in EST.That what my cry?