Re: Date-class: feature request

From: Date: Thu, 19 Jul 2001 09:28:47 +0000
Subject: Re: Date-class: feature request
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-881@lists.php.net to get a copy of this message
On Thu, Jul 19, 2001 at 10:40:47AM +0200, alexander.skwar@delphiauto.com wrote: > > On 19.07.2001 08:26:21 Dmitry Tsitelov wrote: > > > It'd be very nice, if date/time manipulation class could handle > > infinite dates consistently with SQL model (like in PostgreSQL, for > > Pardon me, but what do you mean by "infinite dates"? > According to PostgreSQL 7.1 User's Guide, Section Date/Time Types, date-typed values can be, among others: infinity: Later than other valid times -infinity: Earlier than other valid times psql and other PostgreSQL front-ends represent these values as 'infinity' and '-infinity' respectively. BTW, there is one more interseting SQL-related time value: invalid: Invalid entry. Any date-result operation with this value gives invalid result. Any boolean-result operation returns FALSE With best regards, -- Dmitry Tsitelov mailto:cit@tag-ltd.spb.ru

« previous php.pear.dev (#881) next »