Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4B3B9475CD5 for ; Tue, 27 Aug 2002 23:30:30 -0400 (EDT) Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (Postfix) with ESMTP id B3530475C7C for ; Tue, 27 Aug 2002 23:30:29 -0400 (EDT) Received: from [63.195.55.98] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.5.9) with HTTP id 1626380 for ; Tue, 27 Aug 2002 20:30:32 -0700 From: "Josh Berkus" Subject: Calculation Error on Epoch? To: pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.5.9 Date: Tue, 27 Aug 2002 20:30:32 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/373 X-Sequence-Number: 9219 Folks, I'm having a problem with: SELECT date_part('epoch','2002-08-28'::TIMESTAMP) Which is consistently returning an epoch timestamp that evaluates to 8.27.2002. Is this a known issue? A cross-platform problem? Suggestions? -Josh Berkus