3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $value ='Di, 02.Okt 2012' ; $tempdate = $value; //$tempdate = ($tempdate,-11); echo date('Y-m-d',strtotime($tempdate));
based on 4kHT6
Output for 5.6.0 - 7.3.0beta1
1970-01-01