On Thu, 27 Dec 2007, Tobias Schlitt wrote:

> On 12/27/2007 01:47 AM Gunnstein Lye wrote:
> > On Wednesday 26 December 2007 19:27, Tobias Schlitt wrote:
> 
> >> Second I added a design draft for enhancement #010913 "Complex data
> >> types (e.g. DateTime) for PersistentObject" [1] right before christmas
> 
> > I don't know if this is even relevant here - I just came to think about the 
> > unix epoch problem - the standard ezp date datatypes can't be used for 
> > birthdays (at least not for people over 37, and there are still a few of 
> > those fossils around).
> 
> > There is a birthday datatype contribution for this, but it should really go 
> > into the distro I think.
> 
> > So if this is relevant to this discussion, please add support for pre-1970 
> > dates in the Date/DateTime datatypes.
> 
> The current implementation supports the new (PHP 5.1) DateTime class,
> which is capable of handling negative Unix timestamps and handles these
> even as strings. That means, there is no problem handling any
> imagineable time value, as long as you store your timestamp in the
> database as a large enough integer value or as a string.

Actually, the date/time support in PHP 5.2 and higher supports 64-bit 
signed timestamps, which reach from 290 billion years ago to 290 billion 
years in the future - I don't think we'd have a problem with that any 
time soon ;-)

regards,
Derick
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to