<?php var_dump((new DateTime('2013-01-01'))->modify('next sunday')->format('D M d y'));
You have javascript disabled. You will not be able to edit any code.