📅  最后修改于: 2022-03-11 14:54:15.103000             🧑  作者: Mango
$endDate = strtotime($endDate);
for($i = strtotime('Monday', strtotime($startDate)); $i <= $endDate; $i = strtotime('+1 week', $i))
echo date('l Y-m-d', $i);