3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $yr="2014"; $week="03"; $day="02"; $day=date("D",strtotime($day)); $newdate= date("d-m-Y", strtotime($yr."W".$week));; echo $newdate; ?>
Output for 5.1.0 - 7.1.0
13-01-2014
Output for 5.0.0 - 5.0.5
25-12-2013
Output for 4.3.0 - 4.4.9
01-01-1970