public static function cWeeks($year = null) { if ($year === null) { $year = date('Y'); } return date('W', mktime(23, 59, 59, 12, 28, $year)); }