You can enter such dates within Zend_Date and there will be no failure.
But Zend_Date will automatically correct this date and change it to
Year 0, Month Jannuary - 1, Day First - 1
Which should lead so something like -01.December.31 00:00:00.
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
----- Original Message -----
From: "Marcus Stöhr" <[email protected]>
To: <[email protected]>
Sent: Monday, January 18, 2010 11:36 AM
Subject: [fw-general] Zend_Date & working with dates like '0000-00-00'
Hi,
I'm using Zend_Date in combination with data from an MySQL-table. I often
get the following date values from MySQL (due to schema changes made after
the creation of the tables): 0000-00-00 and 0000-00-00 00:00
Can I work with them in Zend_Date like any other date or should I extend
Zend_Date with my own class to handle these special cases?
- Marcus=