Alternate of package.java.util.timezone.gettimezone(), what glide api can be used in global scope

Ganesh90
Tera Expert

Alternate of package call package.java.util.timezone.gettimezone()  what glide api can be used in global scope

4 REPLIES 4

Saiganeshraja
Kilo Sage
Kilo Sage

gs.getSession().getTimeZoneName();

Will give you timezone information.

Mark correct and helpful

doing this will get the timezone info the current session, what to do if we want timezone info by any id like "UTC" or " Asia/kolkata"

Go to sys_user table you will find field name Time zone there you can get list of Timezones.

Mark correct and helpful

how this will help in removing this package call