X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 03B483A4951 for ; Fri, 26 Nov 2004 07:05:58 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 30630-03 for ; Fri, 26 Nov 2004 07:05:47 +0000 (GMT) Received: from rigel.lunarpages.com (rigel.lunarpages.com [64.235.230.106]) by svr1.postgresql.org (Postfix) with ESMTP id 6B8C23A49AD for ; Fri, 26 Nov 2004 07:05:43 +0000 (GMT) Received: from cpanel by rigel.lunarpages.com with local (Exim 4.43) id 1CXaAt-0006U2-B7 for pgsql-jdbc@postgresql.org; Thu, 25 Nov 2004 23:05:47 -0800 Received: from 210.214.30.84 ([210.214.30.84]) by granwill.com (IMP) with HTTP for ; Thu, 25 Nov 2004 23:05:47 -0800 Message-ID: <1101452747.41a6d5cb4bb52@granwill.com> Date: Thu, 25 Nov 2004 23:05:47 -0800 From: deepthi@granwill.com To: pgsql-jdbc@postgresql.org Subject: Time conversion across various parts of world MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.2 X-Originating-IP: 210.214.30.84 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - rigel.lunarpages.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [32001 32003] / [47 12] X-AntiAbuse: Sender Address Domain - granwill.com X-Source: /usr/local/cpanel/3rdparty/bin/php X-Source-Args: /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/base/horde/imp/compose.php X-Source-Dir: :/base/horde/imp X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.3 tagged_above=0.0 required=5.0 tests=NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200411/210 X-Sequence-Number: 11632 Hello, For example, our website is running on a server located in Japan and we have another website #2 running in US. our database is located on the server in Japan. when some one accesses our website #2 which is located in US, the time at which the user accessed our website #2 has to be registered in a database which is situated in Japan. but at present i am getting the system time of the server which is in japan. How can i convert this time or get the corresponding time at US using pgsql time zone feature or if anything else. Please note: Our other website#2 can be located in other parts of the world also, it need not be US only. I have the country name where our website#2 is located and by using this name i need to get the time in that country. we are using postgresql 7.3.4. Eagerly waiting for replies. Thanking you, deepthi