指定时间的时间戳获取 比如说现在的时间是 2018-10-25 18:12 那我想获取今天凌晨的时间戳,怎么写呢? strtotime( date("Y-m-d 00:00:00",time() ) ) 这样打印出来就是 当天凌晨的时间戳。 这个很有用哦。