- var_dump: documentation ( source)
- date: documentation ( source)
- strtotime: documentation ( source)
<?php
$a = \DateTime::createFromFormat('c', '2014-05-28T22:02:04+02:00');
$b = new \DateTime(strtotime('2014-05-28T22:02:04+02:00'));
var_dump($a,$b,date('c'));