You need to sign in to do that
Don't have an account?

How to get user timezone in apex class
Is there any method to get user timezone in apex class.
You need to sign in to do that
Don't have an account?
Is there any method to get user timezone in apex class.
User currentUser = [Select TimeZoneSidKey from User where id =: USerInfo.getUserId()];
All Answers
no there is no default method...but u can get the time zone by querying the field "TimeZoneSidKey"
User currentUser = [Select TimeZoneSidKey from User where id =: USerInfo.getUserId()];
No SOQL required, just