RE: [PHP-DEV] PHP 4.0 Bug #4833: date conversions dont work

From: Date: Tue, 06 Jun 2000 02:00:13 +0000
Subject: RE: [PHP-DEV] PHP 4.0 Bug #4833: date conversions dont work
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-20299@lists.php.net to get a copy of this message
> From: uberman@onemain.com > Operating system: linux > PHP version: 4.0.0 Release > PHP Bug Type: Misbehaving function > Bug description: date conversions dont work > > <? > $first = strtotime ("10 march 2000"); > print (date("l dS of F Y h:i:s A", $first)); > ?> Oddly enough... $first = strtotime ("6 June 2000"); print (date("l dS of F Y h:i:s A", $first)); produces "Monday 05th of June 2000 03:00:00 PM", but, $first = strtotime ("June 6 2000"); print (date("l dS of F Y h:i:s A", $first)); produces "Tuesday 06th of June 2000 11:00:00 AM". .mike

« previous php.dev (#20299) next »