<?php date_default_timezone_set("America/New_York"); $xx = new DateTime(); $x = $xx->format('W'); $now = new DateTime('Sunday of week ' . $x); $y = $now->format('D'); echo $y;
You have javascript disabled. You will not be able to edit any code.