Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 750 Bytes

File metadata and controls

28 lines (18 loc) · 750 Bytes
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.

Value

A number containing a timestamp, given as {{Glossary("Unix time")}} in milliseconds.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also