From: anru chen <ctx2002@gmail.com>
To: pgsql-sql@postgresql.org
Subject: to_date function
Date: Fri, 7 Sep 2007 17:22:30 +1200
Message-ID: <9bb664980709062222n13f66543kf621094604a9944e@mail.gmail.com> (raw)
Hi all:
i am use postgres 8.2 on windows XP, following select statement
"select to_date('10 August 2007','DD Month YYYY');"
return me 0007-08-10,
if i do "select to_date('10 September 2007','DD Month YYYY');"
result is correct 2007-09-10
seems like "to_date" function only work correctly for current month.
any one know why?
regards,
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: ctx2002@gmail.com
Subject: Re: to_date function
In-Reply-To: <9bb664980709062222n13f66543kf621094604a9944e@mail.gmail.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