3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $fileName = "140908_181323-q6nr12vo-8900001-08031970805-byC1.mp3"; echo date('Y/m/d h:i:s', strtotime(substr($fileName,0,12))).substr($fileName,13);
based on cHhrO
Output for 5.1.0 - 7.1.0
1970/01/01 01:00:00-q6nr12vo-8900001-08031970805-byC1.mp3
Output for 4.3.0 - 5.0.5
1970/01/01 12:59:59-q6nr12vo-8900001-08031970805-byC1.mp3