Received: from mail.bsil.com ([203.199.84.164]) by postgresql.org (8.11.6/8.11.4) with ESMTP id g1KCZaF03391 for ; Wed, 20 Feb 2002 07:35:41 -0500 (EST) (envelope-from jayas@bsil.com) Received: from ganga.bsil.com (IDENT:root@ganga.bsil.com [128.0.10.100]) by mail.bsil.com (8.11.0/8.11.0) with ESMTP id g1KCf9o06113 for ; Wed, 20 Feb 2002 18:11:09 +0530 Received: (from root@localhost) by ganga.bsil.com (8.11.0/8.11.0) id g1KCXqZ12328 for ; Wed, 20 Feb 2002 18:03:52 +0530 Received: from jayantsrv ([128.0.6.237]) by bsil.com (8.11.0/8.11.0) with SMTP id g1KCXkH12036; Wed, 20 Feb 2002 18:03:46 +0530 Reply-To: From: "Jaya Swarup" To: Cc: Subject: Time problem Date: Wed, 20 Feb 2002 18:02:17 +0530 Message-ID: <001d01c1ba0a$a27f5e20$ed060080@jayantsrv> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Archive-Number: 200202/231 X-Sequence-Number: 3387 Hi All, I have installed postgres 7.1.3 as database. For my application I have used timestamp as the datatype for date and time. I am facing the following problem: 1) While inserting data, I do not have any trouble and the time taken is the system time. 2) In the console when I select data it shows me the correct time. 3) BUT, when I am retrieving data from the sql query (code) and displaying it, it is inexplicably ahead of the System time by exactly 30 mins. 4) I have tried setting the TIME ZONE variable to all possible combinations as mentioned in the documentation. But even then if I ask the system to SHOW TIME ZONE, it says "TIME ZONE IS UNKNOWN". 5) I have tried to find and set the environment variable, but again to no avail. I need help to sort this out, since it is throwing my otherwise sensible application out of gear. Regards Jaya