3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $Start_Week = '201338'; $Optel_Week = 8; $Year_numbers= substr($Start_Week, 0, 4); $Week_numbers= substr($Start_Week, 4, 6); $Start_Week_berekend = date("Y-m-d", strtotime("{$Year_numbers}-W{$Week_numbers} + $Optel_Week week")); echo $Start_Week_berekend;
Output for 5.2.0 - 7.1.0
2013-11-11
Output for 4.3.0 - 4.4.9, 5.1.0 - 5.1.6
1970-01-01
Output for 5.0.0 - 5.0.5
2013-03-18