php strtotime 判断 时间戳 date 当天 time

$test = date('Y-m-d',time());
$t1 = strtotime($test.' 14:00:00');echo $t1;
echo'<br/>';
$t2 = strtotime('14:00:00');echo $t2;
die;

以上输出相同的时间戳

posted @ 2016-05-27 14:53  WilliamShaw  阅读(478)  评论(0编辑  收藏  举报