2020年10月11日
摘要: 1.获取上个月第一天及最后一天. echo date('Y-m-01', strtotime('-1 month')); echo ""; echo date('Y-m-t', strtotime('-1 month')); echo ""; 上面的方法有些问题,根据bg5hfc回复做下修改 上个月 阅读全文
posted @ 2020-10-11 14:34 李柯游 阅读(460) 评论(0) 推荐(0)