Time is off in PG server - Mailing list pgsql-admin

From Ericson Smith
Subject Time is off in PG server
Date
Msg-id 412DE9EE.1070207@did-it.com
Whole thread Raw
Responses Re: Time is off in PG server  ("Jay A. Kreibich" <jak@uiuc.edu>)
Re: Time is off in PG server  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
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! |
+-----------------------+------------------------------+


Attachment

pgsql-admin by date:

Previous
From: Steve Lane
Date:
Subject: Odd double queries continues
Next
From: "Jay A. Kreibich"
Date:
Subject: Re: Time is off in PG server