Hi!

Someone knows why is this returning 1969-12-31 ???

$day = 13;
$month = 10;
$year = 2002;
echo date("Y-m-d",mktime (0,0,0,$month,$day,$year)); 

And MySQL also does the same when I insert '2002-10-13' in a date field!!!

::: R o d r i g o M e u r e r  ::::
   [EMAIL PROTECTED]
B a s e 5 1 - W e b p r o j e c t s
Tel 51 3332.8813 / Fax 51 3321.1405
: : :    www.base51.com.br    : : : 

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

Reply via email to