📜  将秒数添加到 datetime php 代码示例

📅  最后修改于: 2022-03-11 14:53:51.350000             🧑  作者: Mango

代码示例3
getTimestamp(). "
"; $date->add(new DateInterval('PT674165S')); // adds 674165 secs echo $date->getTimestamp(); ?>