X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C36EB53ADE for ; Fri, 22 Apr 2005 06:30:41 -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 65391-07 for ; Fri, 22 Apr 2005 09:30:40 +0000 (GMT) Received: from nordine.ateur (main.librelogiciel.com [62.212.108.58]) by svr1.postgresql.org (Postfix) with ESMTP id 62EB353AF8 for ; Fri, 22 Apr 2005 06:30:32 -0300 (ADT) Received: from jerome by nordine.ateur with local (Exim 3.36 #1 (Debian)) id 1DOuU6-0003m6-00; Fri, 22 Apr 2005 11:30:02 +0200 Date: Fri, 22 Apr 2005 11:30:02 +0200 To: Christoph Haller Cc: pgsql-sql@postgresql.org Subject: Re: string to date conversion Message-ID: <20050422093002.GI12176@mail.librelogiciel.com> References: <20050422084301.GB12176@mail.librelogiciel.com> <4268C216.8BC93C10@rodos.fzk.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4268C216.8BC93C10@rodos.fzk.de> User-Agent: Mutt/1.5.9i From: Jerome Alet X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200504/324 X-Sequence-Number: 21217 On Fri, Apr 22, 2005 at 11:21:26AM +0200, Christoph Haller wrote: > > select '2005/04/22'::text::timestamp ; > timestamp > --------------------- > 2005-04-22 00:00:00 > (1 row) > > works for me. It works fine !!! Thanks so much for your help. I missed the '::text' intermediate conversion it seems bye Jerome Alet