Position.timestamp 是一个 DOMTimeStamp对象的只读属性,该对象表示 Position对象所属的日期和时间。精度为毫秒。

语法

coord = position.timestamp

标准

Specification Status Comment
Geolocation API
Position.timestamp
Recommendation Initial specification.

浏览器兼容性

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

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 ?

请参见

文档标签和贡献者

此页面的贡献者: wangxb
最后编辑者: wangxb,