@ 2013-12-18T03:26:24Z <?php
$objDateTime = new DateTime('NOW');
echo $objDateTime->format('c'); // ISO8601 formated datetime
echo $objDateTime->format(DateTime::ISO8601); // Another way to get an ISO8601
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 5.3.0 - 5.3.29 , 5.4.0 - 5.4.41 , 5.4.43 - 5.4.45 , 5.5.0 - 5.5.38 , 5.6.0 - 5.6.40 , 7.0.0 - 7.0.33 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.10 , 7.3.12 - 7.3.31 , 7.4.0 - 7.4.25 , 7.4.27 - 7.4.33 , 8.0.0 - 8.0.12 , 8.0.14 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.7 2013-12-18T04:26:24+01:002013-12-18T04:26:24+0100 Output for 7.3.32 - 7.3.33 , 7.4.26 , 8.0.13 2013-12-18T03:26:24+00:002013-12-18T03:26:24+0000 Output for 5.4.42 , 7.3.11 2013-12-18T04:26:25+01:002013-12-18T04:26:25+0100 Output for 5.2.16 - 5.2.17 2015-11-07T22:45:30+01:002015-11-07T22:45:30+0100 Output for 5.2.15 2015-11-07T22:45:31+01:002015-11-07T22:45:31+0100 Output for 5.2.14 2015-11-07T22:45:32+01:002015-11-07T22:45:32+0100 Output for 5.2.12 - 5.2.13 2015-11-07T22:45:33+01:002015-11-07T22:45:33+0100 Output for 5.2.11 2015-11-07T22:45:34+01:002015-11-07T22:45:34+0100 Output for 5.2.9 - 5.2.10 2015-11-07T22:45:35+01:002015-11-07T22:45:35+0100 Output for 5.2.7 - 5.2.8 2015-11-07T22:45:36+01:002015-11-07T22:45:36+0100 Output for 5.2.4 - 5.2.6 2015-11-07T22:45:37+01:002015-11-07T22:45:37+0100 Output for 5.2.2 - 5.2.3 2015-11-07T22:45:38+01:002015-11-07T22:45:38+0100 Output for 5.2.0 - 5.2.1 2015-11-07T22:45:39+01:002015-11-07T22:45:39+0100 Output for 5.0.0 - 5.0.5 , 5.1.1 - 5.1.6 Fatal error: Class 'DateTime' not found in /in/pFqS5 on line 2
Process exited with code 255 . Output for 5.1.0 Fatal error: fatal flex scanner internal error--end of buffer missed in /in/pFqS5 on line 4
Process exited with code 255 . Output for 4.4.2 - 4.4.9 Parse error: syntax error, unexpected ')', expecting '(' in /in/pFqS5 on line 4
Process exited with code 255 . Output for 4.3.0 - 4.3.1 , 4.3.5 - 4.3.11 , 4.4.0 - 4.4.1 Parse error: parse error, unexpected ')', expecting '(' in /in/pFqS5 on line 4
Process exited with code 255 . Output for 4.3.2 - 4.3.4 Parse error: parse error, expecting `'('' in /in/pFqS5 on line 4
Process exited with code 255 . preferences:dark mode live preview
254.32 ms | 401 KiB | 461 Q