已知第几周 获取此周的日期
时间:2021-09-09 23:28:07
收藏:0
阅读:21
$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");
原文:https://www.cnblogs.com/chaihtml/p/15242320.html
评论(0)