DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Posts
    2

    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

    datetime.

    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

    internet)
    and then convert the entered datetime into UTC datetime before

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

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

    before
    show it on the web UI.

  2. #2
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    255
    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

Bookmarks

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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links