How do I convert my time from 2010-12-30 23:21:46 to ISO 8601 date format? (-_-;)
2010-12-30 23:21:46
You can try this way:
$datetime = new DateTime('2010-12-30 23:21:46'); echo $datetime->format(DATE_ATOM);