3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo str_replace(' ', 'T', trim(gmdate('Ymd hms'))) . date('P');
Output for 5.1.3 - 7.1.0
20140514T100557+02:00
Output for 4.3.0 - 5.1.2
20140514T100557P