Back to Content

GeolocationPosition: timestamp property

files/en-us/web/api/geolocationposition/timestamp/index.md

latest537 B
Original Source

{{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