Re: Function to test for Valid Date

From: Andreas Kretschmer <andreas_kretschmer(at)despammed(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Function to test for Valid Date
Date: 2005-09-11 16:42:09
Message-ID: 20050911164209.GA935@kaufbach.delug.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alex <alex(at)meerkatsoft(dot)com> schrieb:

> Hi,
> is there a way to use postgres to check if a date provided is valid and
> would return true or false.

http://www.postgresql.org/docs/8.0/interactive/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT

There is a user comment with a example.

Regards, Andreas
--
Diese Message wurde erstellt mit freundlicher Unterstützung eines freilau-
fenden Pinguins aus artgerechter Freilandhaltung. Er ist garantiert frei
von Micro$oft'schen Viren. (#97922 http://counter.li.org) GPG 7F4584DA
Was, Sie wissen nicht, wo Kaufbach ist? Hier: N 51.05082°, E 13.56889° ;-)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Roman Neuhauser 2005-09-11 17:09:44 Re: arrays, composite types
Previous Message Greg Stark 2005-09-11 16:11:39 Re: arrays, composite types