Position.timestamp
是一个 DOMTimeStamp
对象的只读属性,该对象表示 Position
对象所属的日期和时间。精度为毫秒。
语法
coord = position.timestamp
标准
Specification | Status | Comment |
---|---|---|
Geolocation API Position.timestamp |
Recommendation | Initial specification. |
浏览器兼容性
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | 5 | 3.5 (1.9.1) | 9 | 10.60 Removed in 15.0 Reintroduced in 16.0 |
5 |
Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | ? | ? | 4.0 (4) | ? | 10.60 | ? |
请参见
- Using geolocation
- The
Position
interface it belongs to.