Secure context
This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

The Position.timestamp read-only property, a DOMTimeStamp object, represents the date and the time of the creation of the Position object it belongs to. The precision is to the millisecond.

Syntax

var timestamp = position.timestamp

Specifications

Specification Status Comment
Geolocation API
The definition of 'Position.timestamp' in that specification.
Recommendation Initial definition

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support5 Yes3.59165
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support518 Yes416 Yes ?

See also

Document Tags and Contributors

Last updated by: fscholz,