如何向这个时间添加 30 秒?
$time = date("m/d/Y h:i:s a", time());
我不确定该怎么做,因为它显示了很多不同的时间单位,而我只想添加 30 秒。
最佳答案
$time = date("m/d/Y h:i:s a", time() + 30);
关于php - 使用 PHP 将时间增加 30 秒,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3052865/