|
|||
|
I would like to use getDate() to the date of Zend_Date Object without the time part.
1) I set the default timezone as Asia/Hong_Kong (GMT +8) 2) print out the Zend_Date::now()->get() result: 1194583304 (2007-11-09T12:41:44+08:00) 3) print out the Zend_Date::now()->getDate()->get() result: 1194566400 (2007-11-09T08:00:00+08:00) But I expect the result of 3) should be (2007-11-09T00:00:00+08:00) How can I solve this problem ? |
![]() |
| Thread Tools | |
| Display Modes | |
|
|