X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C5BB15E46DC for ; Thu, 26 Aug 2004 10:47:27 -0300 (ADT) 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 61236-05 for ; Thu, 26 Aug 2004 13:47:24 +0000 (GMT) Received: from pop.e-it.com (pop.e-it.com [216.187.113.81]) by svr1.postgresql.org (Postfix) with ESMTP id BE93E5E46F9 for ; Thu, 26 Aug 2004 10:47:21 -0300 (ADT) Received: (qmail 31284 invoked by uid 500); 26 Aug 2004 13:47:22 -0000 Received: from ool-18b9d65f.dyn.optonline.net (HELO ?151.191.181.145?) (eric@did-it.com@24.185.214.95) by pop.e-it.com with SMTP; 26 Aug 2004 13:47:22 -0000 Message-ID: <412DE9EE.1070207@did-it.com> Date: Thu, 26 Aug 2004 09:47:26 -0400 From: Ericson Smith User-Agent: Mozilla Thunderbird 0.7.1 (X11/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Time is off in PG server Content-Type: multipart/mixed; boundary="------------010305010305050704050205" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/260 X-Sequence-Number: 14655 This is a multi-part message in MIME format. --------------010305010305050704050205 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, When using date oriented functions on Postgresql, the time is an hour off, or in certain times, one hour ahead. System Timezone: EST System Time (date command): Thu Aug 26 09:44:28 EDT 2004 SELECT now(); : 2004-08-26 08:44:31.307343-05 SELECT date_part('epoch', '2004-08-26'::timestamp) ; : 1093496400 (1am on that day -- should be 12pm) Any suggestions? -- Warmest regards, Ericson Smith Tracking Specialist/DBA +-----------------------+------------------------------+ | http://www.did-it.com | Need help tracking your paid | | eric@did-it.com | search campaigns? | | 516-255-0500 | - Help is on the way! | +-----------------------+------------------------------+ --------------010305010305050704050205 Content-Type: text/x-vcard; charset=utf-8; name="eric.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="eric.vcf" begin:vcard fn:Ericson Smith n:Smith;Ericson org:Did-it.com;Programming adr:#304;;55 Maple Avenue;Rockville Center;NY;11570;USA email;internet:eric@did-it.com title:Web Developer tel;work:516-255-0500 tel;cell:646-483-3420 note:Nothing special! x-mozilla-html:FALSE url:http://www.did-it.com version:2.1 end:vcard --------------010305010305050704050205--