Ah. This makes perfect sense. Good idea.
Mike
Raymond Irving wrote:
--- On Wed, 4/29/09, MIke Alaimo wrote:
Raymond, have you tried using DateTime::modify? It
appears to work like strtotime.
also DateTime::format works like date. At least as
far as I can tell.
From the little
--- On Wed, 4/29/09, MIke Alaimo wrote:
>
> Raymond, have you tried using DateTime::modify? It
> appears to work like strtotime.
> also DateTime::format works like date. At least as
> far as I can tell.
>
From the little documentation that I've seen it appears that it's similar to
strtot
Here is something i'd like to point out with DateInterval.
$dInt = 'PT4320S';
$d = new DateInterval($dInt);
var_dump($d);
$dz = new DateTimeZone(UTC);
$dt = new DateTime('now',$dz);
$dt->add($d);
var_dump($dt->format(DATE_ATOM));
It appears that running this code fails when it seems like it shou
Sounds great Mike.
I personally would also like to see standard date/time functions (strtotime,
strftime, date, etc) support dates greater than 2038. I think this can be done
internally by parsing the datetime value swith the DateInterval object and
retuning the results to the standard function
4 matches
Mail list logo