请教关于时间计算的问题! $from=mktime(0,0,0,$month1,$day1,$year1);$to=mktime(0,0,0,$month2,$day2,$year2);$day_diff=($to-$from)/86400; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 $d_time=(strtotime("2002-12-21")-strtotime("2002-10-10"))/(24*3600); 是小时,不是天数$d_time=(strtotime("2002-11-25 08:30")-strtotime("2002-11-25 17:30"))/3600; php连接ORACLE,结果集有数据,文什么显示不出来呢? 如何修改此程序? 求一正则表达式 关于php的菜鸟的问题 php4和php5的差异大吗?? 关于 php + mysql 的特殊段问题! 高手请进! 有没有生成word文件的方法? 关闭浏览器后。。。 简单问题:如果禁止目录浏览 nginx+php环境,session无法跨页传递问题 文件自动下载??? 请问php如何连接Oracle数据库
$d_time=(strtotime("2002-11-25 08:30")-strtotime("2002-11-25 17:30"))/3600;