[SalesForce] Convert Datetime to GMT

enter image description hereI have two fields: one Datetime I need to show in user timezone and another in GMT. How to show Datetime in UI in GMT format? Because in UI it always converted to user timezone. So my second field should be in GMT but it in user time zone

Best Answer

Use a formula text field to present the GMT value, like:

TEXT(TheDateTimeForShowingInGMT__c)

Then show that formula on the layout instead of TheDateTimeForShowingInGMT__c.

Related Topic