I'm getting odd output from the getDate()
function. It's supposed to return a date without the time parts, but I am getting time parts. Am I missing some configuration option that would correct this?
Sample Code:
date_default_timezone_set('America/New_York');
$date = new Zend_Date(array(
'year' => 2010,
'month' => 3,
'day' => 29,
));
echo $date->getIso() . PHP_EOL;
echo $date->getDate()->getIso() . PHP_EOL;
Output:
2010-03-29T00:00:00-04:00
2010-03-29T23:00:00-04:00