标签: php mongodb
$start = new MongoDate(strtotime("2010-01-15 00:00:00")); echo $start;
我正在将当前的php时间转换为mongodb iso时间。 当我回显$ start时,我得到 0.00000000 1263493800。
如何只获得1263493800.我不需要0.00000000部分