echo"<br/>";
echo$endttime=strtotime(date("Y-m-d",time()).'23:59:59');//当天23:59:59的INT类型时间戳
//把数值型转成时间字符型
$dotime="1357985479";
echodate("Y-m-dH:i:s",$dotime);//把数字型时间按格式转换成时间格
//输出当前时间字符串型
echostrtotime(date('Y-m-dH:i:s',time()));
//把数值型转成字符串型
echodate('Y-m-dH:i:s','1357985479');
//把字符串型转成数值型
echostrtotime('Y-m-dH:i:s');
//echo"<br/>";
//最近七天
echostrtotime("-7days")