文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>php 时间相减

php 时间相减

时间:2006-03-29  来源:freespray

获取当前时间:$now=date("Y-n-j h:i:s");
$last="2006-3-28 01:51:17";
$now="2006-3-28 02:51:17";
$diff=strtotime($now)-strtotime($last);
echo "时间相差".$diff;
echo "last".strtotime($last);
echo "now".strtotime($now);

相关阅读 更多 +
排行榜 更多 +
救救小鱼儿

救救小鱼儿

休闲益智 下载
积木填色

积木填色

休闲益智 下载
警察局逃脱

警察局逃脱

冒险解谜 下载