<?php $d = date('d', strtotime("2013-08-28")); echo ceil($d/7).PHP_EOL; echo "\n"; echo date('w', strtotime("2013-08-28"));
You have javascript disabled. You will not be able to edit any code.