Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to get timezone of the browser in ADF

694792Feb 3 2010 — edited May 31 2011
Hi All,

I tried to get the browser timezone by using following

AdfFacesContext.getCurrentInstance().getTimeZone()
and
org.apache.myfaces.trinidad.context.RequestContext.getCurrentInstance().getTimeZone()

But it returning the server timezone instead browser.

Is there any other way to get the timezone? Any inputs will be appreciated.


Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 28 2011
Added on Feb 3 2010
15 comments
4,589 views