How to get the current User time zone in an Apex class?

UserInfo.getTimeZone() is used to get the current User time zone in an Apex class

TimeZone tz = UserInfo.getTimeZone();

No comments:

Post a Comment