我用 gps 和 wifi 数据提取了 iphone 数据库。
apple时间戳好像是一个特殊的时间戳(313167962.508283)。
如何将其转换为 Linux 时间戳或实际日期?
如果可能的话,我想用 PHP 转换它。
最佳答案
自 2001 年 1 月 1 日以来的时间以秒为单位。(引用:http://petewarden.github.com/iPhoneTracker/#2)
$time = mktime('', '', '', 1, 1, 2001) + $appletime;
关于php - 转换 iPhone 时间戳,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5747370/