php获取指定日期的前一天,前一月,前一年日期
php获取指定日期的前一天,前一月,前一年日期
前一天的日期为:
date("Y-m-d",strtotime("-1 days",strtotime('2019-08-31')))
前一月的日期为
date("Y-m-d",strtotime("-1 months",strtotime('2019-08-31')))
前一年的日期为:
date("Y-m-d",strtotime("-1 years",strtotime('2019-08-31')))
后一天的日...
本文标题: php获取指定日期的前一天,前一月,前一年日期
本文链接: https://crm.yallacn.com/jiaocheng/254.html (转载时请注明来源链接)
本文说明: 有问题或投稿请发送至: 邮箱/service@zhimatong.com QQ/1174742835
特别鸣谢: 如果您觉得本文对您有帮助,请给我们一个小小的赞,收藏本文更利于反复学习哦!



交流群
购物车