摘要: 在实际开发过程中,特别是做查询统计时,经常会用到最近七天、上周、上个月、每月第一天等时间操作,以下是一些常见用例: 日期 今天 date('Y-m-d') 明天 date('Y-m-d',strtotime('1 day')) 明天 date('Y-m-d',strtotime('tomorrow' 阅读全文
posted @ 2020-05-15 17:28 凹凸的小吴 阅读(373) 评论(0) 推荐(0)