X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id AE72AD1B273 for ; Thu, 10 Jun 2004 14:38:39 -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 50239-10 for ; Thu, 10 Jun 2004 17:38:36 +0000 (GMT) Received: from mail.astudios.com (unknown [66.49.77.3]) by svr1.postgresql.org (Postfix) with ESMTP id 90A11D1B1A1 for ; Thu, 10 Jun 2004 14:38:34 -0300 (ADT) thread-index: AcRPEl5krhfsZqBaS+GxFabc0QPUoA== Received: from [10.4.2.252] ([66.194.26.150]) by mail.astudios.com with Microsoft SMTPSVC(6.0.3790.0); Thu, 10 Jun 2004 13:42:58 -0400 Message-ID: <40C89C70.1050006@sermonaudio.com> Content-Class: urn:content-classes:message Importance: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.132 Date: Thu, 10 Jun 2004 13:37:52 -0400 From: "Chris Hoover" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Subject: Help with casting timestamp column Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Jun 2004 17:42:58.0406 (UTC) FILETIME=[5E583060:01C44F12] 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: 200406/19 X-Sequence-Number: 4089 I need a bit of help. I have a table full of database stats that are all timestamped using the now() timestamp. However, I need to pull some consolidated reports that are based upon hourly activiy. Does anyone know of a way to get a timestamp column to return as mm/dd/yyyy hh? Thanks for any help, chris