PHP获取今天内的时间 今天开始和结束的时间戳
$t = time(); $start = mktime(0,0,0,date("m",$t),date("d",$t),date("Y",$t)); $end = mktime(23,59,59,date("m",$t),date("d",$t),date("Y",$t));
$t = time(); $start = mktime(0,0,0,date("m",$t),date("d",$t),date("Y",$t)); $end = mktime(23,59,59,date("m",$t),date("d",$t),date("Y",$t));