title | short-title | slug | page-type | browser-compat |
---|---|---|---|---|
GeolocationPosition: timestamp property |
timestamp |
Web/API/GeolocationPosition/timestamp |
web-api-instance-property |
api.GeolocationPosition.timestamp |
{{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.
A number containing a timestamp, given as {{Glossary("Unix time")}} in milliseconds.
{{Specifications}}
{{Compat}}
- Using the Geolocation API
- {{domxref("GeolocationPosition")}}