2015-05-14 73 views

回答

2

datetime字符串中缺少of。试着用 -

date('Y-m-d', strtotime('first monday of previous month')); 

Docs

0

请这个尝试..

echo date('Y-m-d', strtotime('First Monday of ' . date("Y-m-d", strtotime("-1 months")))); 
相关问题