Firefox Tomorrow

web api instance property

Sensor: timestamp property

View on MDN ↗

Secure context

The timestamp read-only property of the Sensor interface returns the timestamp of the latest sensor reading.

Because Sensor is a base class, timestamp may only be read from one of its derived classes.

Value

A DOMHighResTimeStamp.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.