I know this question is very popular
Asked here PHP: strtotime is returning false for a future date? and here How can I work with dates before 1900 in PHP?
Could you please confirm my choices:
Upgrade to a 64bit architecture
Replace the strtotime calls by DateTime + DateInterval We can't call DateTime->getTimestamp but we can use DateInterval to calculate the diff
Do I have any other options? Unfortunately, I can't pick option 2 because I am relying on ORM (Propel) + a lot of legacy code using strtotime. Refactoring this stuff + customizing the ORM generators could be more expensive than upgrading to 64bits.
If anybody could confirm or offer any other options, that would be really appreciated.
Thanks
The date format is the standard yyyy-mm-dd
PHP Version 5.3.2