File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes want client's time zone from server side Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

want client's time zone from server side

prajyot jadhav

Joined: Dec 26, 2011
Posts: 6
"want client's time zone from server side":--
i am using an web application which runs on remote server, it shows the time and date in EST format as that of its server but i want to display that in its client's timezone
i tried to make so many changes in JSP and Java action classes but it always gives time in EST i.e. server side format....

can anyone please help me how can i get timezone of client which could be in any timezone..?
Rob Spoor

Joined: Oct 27, 2005
Posts: 19552

Please UseOneThreadPerQuestion. Let's continue here.

How To Ask Questions How To Answer Questions
It is sorta covered in the JavaRanch Style Guide.
subject: want client's time zone from server side
Similar Threads
Time Zone Specific Problem In Servlet
Problem in Changing Timezone (URGENT)
Date problem
F:convertDateTime display
Changing the timezone of a date, not only display