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
SalesforceDF2011SalesforceDF2011 

How to capture the System time & not logged in user time

 

Hi,

 

I am trying to populate a field with the quarter in which the record was submitted but i want this quarter field to be display according to the Org System time and not the logged in user.

 

Is there a way to user user.logged in ="System Admin" in the trigger which would display this field according to the System admin settings.

 

Is there any way to capture the Org System time?

 

Thanks!