+ Start a Discussion
GAURAV SETHGAURAV SETH 

Time difference between Event Object and Calendar

I created a event record for 2 PM-3 PM but it is showing 10 AM on calendar.When I am running SOQL, it is showing the correct time.
DO we have to do some settings to fix that ?

Thanks,
Gaurav Seth
SwethaSwetha (Salesforce Developers) 
HI Gaurav,

I believe 2PM-3PM is the UTC timezone. Can you ensure is calendar is set to the same timezone?
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful.
 
Thank you
GAURAV SETHGAURAV SETH
Click My Settings > Personal > Language & Time Zone.- It is selected as GMT-5.
When I went to Setup- Company Information- Time zone is selected as same GMT-5.

I am creating event record from Apex class.

Do I have to make other changes too?

Thanks,
Gaurav Seth