When converting between date formats in PHP, there is an aspect that is often forgotten… Namely if you are running PHP version < 5.1.0, then remember that dates before 01/01/1970 will be converted to 31/12/1969.
Happily it has been optimized from PHP verision 5.1.0, so the border is now 13/12/1901.
You can read more on php.net here.
Possibly Related Posts:
- Yay, going to the IPC 2008!
- Light-weight PHP engine for BPEL based on XML-rewriting
- Diploma Project handed in, Yay!
- Understanding the PHP object model (slides)
- What PHP IDE to choose? There are so many out there….