When you think that you are getting the wrong output from Zend_Date then it's often needed to see what Zend_Date really uses internally.

A var_dump of Zend_Date is not really helpfull, but you could simply use ‘getIso()’. This format has all date informations available:

$date->getIso(); // could return '2009-10-21T15:00:02+01:00'

Note that using ‘toString()’ and outputting only parts of a date does not show all needed informations. There could be a wrong used timezone, or a DST change which is suppressed by ‘toString()’ but shown with ‘getIso()’.

Posted in: Zend

Related FAQ's

Marius Ion ANGEL HOT SOFT LLC (800) 316-7677