Ben Ramsey wrote:
$old_date = mktime(0, 11, 18, 1, 1, 1903);
echo date("Y-m-d H:i:s", $old_date);

Argh! I had the numbers reversed. It should be: $old_date = mktime(18, 11, 0, 1, 1, 1903);

But you get the idea...

--
Regards,
 Ben Ramsey
 http://benramsey.com
 http://www.phpcommunity.org/wiki/People/BenRamsey

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to