pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jerome Alet <alet@librelogiciel.com>
To: Christoph Haller <ch@rodos.fzk.de>
Cc: pgsql-sql@postgresql.org
Subject: Re: string to date conversion
Date: Fri, 22 Apr 2005 11:30:02 +0200
Message-ID: <20050422093002.GI12176@mail.librelogiciel.com> (raw)
In-Reply-To: <4268C216.8BC93C10@rodos.fzk.de>
References: <20050422084301.GB12176@mail.librelogiciel.com>
	<4268C216.8BC93C10@rodos.fzk.de>

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



view thread (6+ messages)  latest in thread

Message-ID: <20050422093002.GI12176@mail.librelogiciel.com>
Permalink:  ../20050422093002.GI12176@mail.librelogiciel.com/
Also on:    postgresql.org/message-id/20050422093002.GI12176@mail.librelogiciel.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: alet@librelogiciel.com, ch@rodos.fzk.de
  Subject: Re: string to date conversion
  In-Reply-To: <20050422093002.GI12176@mail.librelogiciel.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox