3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = strtotime("2014-09-16"); echo "Date=".date('YWD', strtotime('+15 weeks',$date));
based on q53FP
Output for 4.4.1 - 4.4.9, 5.0.5 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Date=201401Tue
Output for 4.3.0 - 4.4.0, 5.0.0 - 5.0.4
Date=20141Tue