Hi all, 

I have a date (not correct) declared this way:

<?
$dateInput = new Zend_Date('66/03/2007','dd/mm/yyy');
$month  = $date_input->get(Zend_Date::MONTH);
$day      = $date_input->get(Zend_Date::DAY);
$year     = $date_input->get(Zend_Date::YEAR_8601);     
echo $month.'-'.$day.'-'.$year;
?>

my controller return 08-28-71 

Is it the wanted behavior or is this a bug? It shouldn't return some error
"date is not correct "?
(zf 0.8)

Regards
pawel
-- 
View this message in context: 
http://www.nabble.com/zend_date-tf3414173s16154.html#a9513337
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to