Re: Date

From: Jan Wieck <janwieck(at)yahoo(dot)com>
To: cristi <cristi(at)dmhi(dot)ct(dot)ro>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Date
Date: 2002-04-04 16:41:22
Message-ID: 200204041641.g34GfMH07746@saturn.janwieck.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi Cristi,

"looking for a Date" means something slightly different in
the english language, and if your database is of the opposite
gender, no wonder that it's a bit confused ;-)

Never mind, could you give us a bit more detailed
information? What's the PostgreSQL version and the output of
"show datestyle"?

Jan

cristi wrote:
> I have o big problem!
> I have a table which has a field by date type.
> The date format is mm/dd/yyyy.
> When I'm doing this select:
> select da from a where da='03-31-2002';
> the result is :
> 03-30-2002
> 03-30-2002
> 03-30-2002
> I repet: only on '03-31-2002'!
>
> What's going on?
>
> Thanks in advance for any help.
>

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

In response to

  • Date at 2002-04-03 06:10:39 from cristi

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2002-04-04 17:03:22 Re: Rvsd. / Re: Named column in a Function fails at ORDER BY (PgSQL 7.1)
Previous Message Kovacs Zoltan 2002-04-04 16:33:00 md5 auth