Skip to main content
Hi, To convert from anyother timezone to GMT, i am using DATETIMEVALUE function. This  is giving result correctly when the time is salesforce time,i.e, s DATETIMEVALUE(now()) but it is giving wrong output when the time is our system time,i.e current time DATETIMEVALUE("2014-10-07 05:32:00"). if possible can anyone please explain this situation
1 réponse
  1. 8 oct. 2014, 14:08
    Salesforce stores all Dates and DateTimes in GMT.  Users see and enter Dates and Times in their local timezone and Salesforce automatically converts the value to GMT before storing the field.  When the field is retrieved for display, the User's timezone is used to convert from GMT. 
0/9000