When a custom formula field uses the DATETIMEVALUE() or TEXT() function to access a DATETIME field, and that formula field is displayed in a related list, list view, or report, the date and time shown is in GMT (Greenwich Mean Time) rather than the user's local time zone. This is known, expected behavior in Salesforce.
This issue occurs when both of the following conditions are true:
Example: Consider a "Time Sheet" parent record with "Time Entry" child records displayed in a related list. If the "Time Entry" object has a DATETIME field called "Start_Date_Time__c" and you create a formula field using TEXT(Start_Date_Time__c), the related list will display the date and time in GMT, not the user's configured time zone. For instance, if a user in the GMT+8 time zone logs an entry at 3:00 PM local time, the formula field may display 07:00:00 (the GMT equivalent).
This is a known Salesforce platform limitation. The DATETIMEVALUE() and TEXT() formula functions operate on raw DATETIME values stored in GMT. There is currently no supported method to make these formula fields time-zone-aware when displayed in related lists, list views, or reports.
000386728

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.