you can try it,
$str = strtotime ("2018-12-31");
echo date ("Yee, $str), date ("Waring, $str);
echo"
";
$str = strtotime ("2015-12-31");
echo date ("Yee, $str), date ("Waring, $str);
2018-12-31 is the first week, and 2015-12-31 is the 53rd week, which is why