How to get the current User time zone in an Apex class?
UserInfo.getTimeZone() can be used to get the current User time zone in an Apex class. Use the following code for your reference. Sample Code: TimeZone tz = UserInfo.getTimeZone(); System.debug( tz ....