【发布时间】:2017-01-11 03:24:17
【问题描述】:
我正在使用改造 2 来调用谷歌地图时区休息 API。这是我的应用提交的 URL:
时间戳来自 System.currentTimeMillis()
我从谷歌收到“无效请求”。进一步缩小范围表明唯一的问题是时间戳/毫秒。
Here is a version of timestamp that works:
1331161200
See above the version of timestamp that does not work (from System.currentTimeMillis() is: 1484098782775
“额外”的 2 位数字看起来很可疑?
总之,System.currentTimeMillis() 不是 Google 期望的正确纪元/时间戳/毫秒值吗?
提前感谢您的帮助。
【问题讨论】:
标签: android google-maps datetime