Date conversion… Remember!

» 13 February 2007 » In PHP »

When converting between date formats in , there is an aspect that is often forgotten… Namely if you are running 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:


Tags:

Tags:

Trackback URL

One Comment on "Date conversion… Remember!"

Hi Stranger, leave a comment:

*

ALLOWED XHTML TAGS:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to Comments