【发布时间】:2012-11-03 16:32:34
【问题描述】:
嗨,我是 php 中的时间函数新手,我有,
@$download_time = date('d-m-Y H:i:s', $dec_time);
$current_time = date('d-m-Y H:i:s');
$diff = abs(strtotime($current_time) - strtotime($download_time));
$time=65 // $time is in seconds
现在我想比较 if ($diff
【问题讨论】:
-
请确保在发布新问题之前始终尝试搜索功能。很可能您的问题以前曾遇到过,并且已经存在令人满意的答案。这个特定的问题之前已经被问过并回答了数千次。祝你好运!
-
谢谢我从下一个...