<?php echo date("YW", strtotime("2014-08-20")); // gives 201101
You have javascript disabled. You will not be able to edit any code.