DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006

    Angry client TimeZone in JSP

    I want to do that i tried to convert datetime between the local
    timezone of the SERVER machine (not the CLIENT machine) and the UTC


    What I want to do in my WEB application is let the user at the

    client side
    enter a datetime (using calendar) Then, when the page postback to

    the server
    side, the appplication have to know from which timezone the CLIENT

    is (note
    that: this is a WEB app. There are a thousand of clients from the

    and then convert the entered datetime into UTC datetime before

    saving it
    into database. Later when showing the UTC datetime retrieved from

    database, I want first it is converted to the local CLIENT timezone

    show it on the web UI.

  2. #2
    Join Date
    Oct 2005
    New Jersey
    Do you get the client timezone as input somewhere?

    I think you can use request.getLocale() for knowing the user timezone.
    Happiness is good health and a bad memory.

Similar Threads

  1. Servlets and JSP
    By Purnima in forum Java
    Replies: 1
    Last Post: 12-29-2005, 04:14 AM
  2. Replies: 0
    Last Post: 01-09-2001, 12:26 PM
  3. Replies: 0
    Last Post: 07-21-2000, 05:19 PM
  4. Problems for install proxy client ....
    By Armando Cardenas in forum VB Classic
    Replies: 0
    Last Post: 07-19-2000, 09:06 PM
  5. SOAP: end of the THIN CLIENT con job?
    By Richard Curzon in forum Architecture and Design
    Replies: 0
    Last Post: 06-22-2000, 11:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.