Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id C18FB9F9C5A for ; Sun, 4 Mar 2007 15:34:23 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 49041-02 for ; Sun, 4 Mar 2007 15:34:21 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail00.svc.cra.dublin.eircom.net (mail00.svc.cra.dublin.eircom.net [159.134.118.16]) by postgresql.org (Postfix) with SMTP id F24E29F9312 for ; Sun, 4 Mar 2007 15:34:20 -0400 (AST) Received: (qmail 94272 messnum 6388683 invoked from network[83.71.89.140/83-71-89-140.b-ras1.mvw.galway.eircom.net]); 4 Mar 2007 19:34:19 -0000 Received: from 83-71-89-140.b-ras1.mvw.galway.eircom.net (HELO ?127.0.0.1?) (83.71.89.140) by mail00.svc.cra.dublin.eircom.net (qp 94272) with SMTP; 4 Mar 2007 19:34:19 -0000 Message-ID: <45EB1F39.1050008@iol.ie> Date: Sun, 04 Mar 2007 19:34:17 +0000 From: Raymond O'Donnell Reply-To: rod@iol.ie User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: pgsql-general@postgresql.org Subject: Re: date format References: <200703041247.05097.garry@schoolteachers.co.uk> <200703041705.44507.garry@schoolteachers.co.uk> <20070304170935.GC11685@svana.org> <200703041856.20139.garry@schoolteachers.co.uk> <45EB1D7D.7000102@iol.ie> In-Reply-To: <45EB1D7D.7000102@iol.ie> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 000721-1, 03/03/2007), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.158 tagged_above=0 required=5 tests=AWL, BAYES_50 X-Spam-Level: X-Archive-Number: 200703/218 X-Sequence-Number: 110408 On 04/03/2007 19:26, Raymond O'Donnell wrote: > Ahh! Then you need to use to_char(). The datestyle setting in http://www.postgresql.org/docs/8.2/static/functions-formatting.html --------------------------------------------------------------- Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland rod@iol.ie ---------------------------------------------------------------