Re: check date validity

From: Harald Fuchs <hf99(at)protecting(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: check date validity
Date: 2004-01-16 12:58:31
Message-ID: puhdywf3t4.fsf@srv.protecting.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In article <20040116054046(dot)E4E751C173283(at)smtp(dot)vip(dot)163(dot)com>,
"LitelWang" <wlxyk(at)vip(dot)163(dot)com> writes:

> I need this function :
> CheckDate('2002-02-29') return false
> CheckDate('2002-02-28') return true

Why would you want to do that? Just try to insert '2002-02-29' into
your DATE column, and PostgreSQL will complain.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Gamache 2004-01-16 13:40:06 Re: Creating GUID
Previous Message Ivar 2004-01-16 12:56:01 Creating GUID