3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $format = 'd.m.Y H:i:s D l S z F M n y H u e T'; $value = '13.08.2015 17:08:23 Thu Thursday th 224 August Aug 8 15 17 432563 UTC UTC'; $dateTime = \DateTime::createFromFormat($format, $value); echo $dateTime->getTimestamp() . "\n"; echo $dateTime->format($format);
based on c5T6K
Output for 5.6.0 - 7.2.0
1439485703 13.08.2015 17:08:23 Thu Thursday th 224 August Aug 8 15 17 432563 UTC UTC