GeolocationPosition: timestamp property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{securecontext_header}}{{APIRef("Geolocation API")}}
The **timestamp** read-only property of the {{domxref("GeolocationPosition")}} interface represents the date and time that the position was acquired by the device.
Value
A number containing a timestamp, given as {{Glossary("Unix time")}} in milliseconds.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
- Using the Geolocation API
- {{domxref("GeolocationPosition")}}