php获得昨天0点的时间戳

获得昨天0点时间戳

strtotime('yesterday')

获得昨天晚上24点整时间戳

strtotime(date('Y-m-d'))

获得昨天晚上23:59:59时间戳

strtotime(date('Y-m-d')) - 1

猜你喜欢

转载自blog.csdn.net/qq_33679504/article/details/80597687