$dateString="2021-6周"
$dates = date_create(); $years = substr($dateString, 0, 4); $weeks = substr($dateString, 5, 2); date_isodate_set($dates, $years, $weeks); $start = date_format($dates, "Y-m-d");
2023-12-05 08:35:52
$dateString="2021-6周"
$dates = date_create(); $years = substr($dateString, 0, 4); $weeks = substr($dateString, 5, 2); date_isodate_set($dates, $years, $weeks); $start = date_format($dates, "Y-m-d");
下一篇:POST—常见的4种提交方式