php教程 php如何獲得當天0點0分0秒的時間戳,如何獲得指定日期的0點0分0秒的時間戳?
php如何獲得當天0點0分0秒的時間戳,如何獲得指定日期的0點0分0秒的時間戳?//Zero point of the day$today=strtotime(date(“y-m-d”,time())
php如何獲得當天0點0分0秒的時間戳,如何獲得指定日期的0點0分0秒的時間戳?
//Zero point of the day$today=strtotime(date(“y-m-d”,time())//24$end of the day=$today 24*60*60//獲取指定的日期,例如,2014-06-06$time=time(“2014-06-06”)