I\'m trying to display a datetime from my MySQL database as an iso 8601 formated string with PHP but it\'s coming out wrong.
17 Oct 2008 is coming out as: 1969-12-31
The second argument of date is a UNIX timestamp, not a database timestamp string.
You need to convert your database timestamp with strtotime.
= date("c", strtotime($post[3])) ?>