php怎么获得昨天0点的时间戳?
获得昨天0点时间戳
strtotime('yesterday')
获得昨天晚上24点整时间戳
strtotime(date('Y-m-d'))
获得昨天晚上23:59:59时间戳
strtotime(date('Y-m-d')) - 1
更多PHP相关知识,请访问PHP教程!
以上就是php怎么获得昨天0点的时间戳的详细内容,更多请关注求知技术网其它相关文章!
php怎么获得昨天0点的时间戳?
获得昨天0点时间戳
strtotime('yesterday')
获得昨天晚上24点整时间戳
strtotime(date('Y-m-d'))
获得昨天晚上23:59:59时间戳
strtotime(date('Y-m-d')) - 1
更多PHP相关知识,请访问PHP教程!
以上就是php怎么获得昨天0点的时间戳的详细内容,更多请关注求知技术网其它相关文章!
文章来源:智云一二三科技
文章标题:php怎么获得昨天0点的时间戳
文章地址:https://www.zhihuclub.com/2447.shtml