Thursday, August 1, 2019

How to get Current User Timezone Using SOQL

This simple SOQL query returns the current user timezone.

SOQL Query
SELECT Id, TimeZoneSidKey FROM User WHERE Id = '005B0000005lewT'
Result

No comments:

Post a Comment