Re: new Date extenstion

From: Date: Mon, 17 Feb 2003 16:26:03 +0000
Subject: Re: new Date extenstion
References: 1 2 3 4 5 6  Groups: php.dev 
Request: Send a blank email to php-dev+get-94303@lists.php.net to get a copy of this message
On Mon, 17 Feb 2003 17:18:46 +0100 "Dirkjan Ochtman" <manuzhai@php.net> wrote: > I think a date_serialize() function would be nice (with a companion > unserialize). It should return a short version of the object that can > be stored in a database, for example. Also, I would like a function > that returns a Unix timestamp from the date object. serialize(date_get_array($mydate)); does it, serialize the whole datas is not a good thing, i.e. no need to store an invalid date. Or ? The timestamp will be available. thank's for the feedback, hth pierre

« previous php.dev (#94303) next »