1.我用php獲取本周的周三時(shí)間到上一周的周三時(shí)間當(dāng)本地時(shí)間是周日的時(shí)候獲取的時(shí)間是錯(cuò)的
2.下面是我的代碼
$wednesdayfirst = date('Y-m-d', strtotime('this week wednesday'));
$wednesdaylast = date('Y-m-d', strtotime('last week wednesday'));
3.當(dāng)前時(shí)間我調(diào)整到了10月的29號(hào)周日
獲取本周的周三到上周的周三 但是周日的時(shí)候時(shí)間老是不對(duì)
12345678_0001
2019-03-06 13:27:25