|
|||
|
Code:
$date = new Zend_Date('31.12.2007', 'dd.MM.YYYY');
echo $date."<br />";
echo $date->toString('YYYY-MM-dd');
Dec 31, 2007 12:00:00 AM 2008-12-31 Am I doing something wrong? For dates like 30.12.2007 and 31.12.2010 the output is correct: 2007-12-30 and 2010-12-31 respectively. Last edited by BobiKK : 02-26-2008 at 01:52 PM. |
|
|||
|
Quote:
__________________
------------------ Loris Candylaftis |
![]() |
| Thread Tools | |
| Display Modes | |
|
|