From: Jean-Luc Lachance <jllachan@nsd.ca>
To: wishy wishy <wishy66@hotmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: date
Date: Fri, 18 Oct 2002 14:24:07 -0400
Message-ID: <3DB051C7.B4CBD73E@nsd.ca> (raw)
References: <F53s0dt2NCF6TMlz9K90000565d@hotmail.com>
Try
select to_char( '1969-10-22'::date, 'YYYY-MM-DD');
wishy wishy wrote:
>
> hi folks,
> we have a PostgreSQL 7.2.2 on i686-pc-linux-gnu, compiled by GCC 2.96
> installation on pogo linux 7.2
> we are facing a data problem when we do the following
> select to_char(to_date('1969-10-22','YYYY-MM-DD'),'YYYY-MM-DD');
>
> ERROR: Unable to convert date to tm
>
> we have been trying to find a solution for this have you found such
> instances before it there a method to over come this.
> Any help will be greatly appreciated.
> thanks
> kris
>
> _________________________________________________________________
> Get faster connections -- switch to MSN Internet Access!
> http://resourcecenter.msn.com/access/plans/default.asp
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
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: jllachan@nsd.ca, wishy66@hotmail.com
Subject: Re: date
In-Reply-To: <3DB051C7.B4CBD73E@nsd.ca>
* 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