echo strtotime(date('Y-m-d')); 获取明天凌晨的时间戳代码:echo strtotime(date('Y-m-d',strtotime('+1 day'))); 附上测试代码:echo strtotime('2012-11-2');echo strtotime('2012-11-2 00:00:00');echo strtotime(date('Y-m-d')),'';echo date('Y-m-d H:i:s',strtotime(date('Y-m-d')));