MDN self-hosted library · e01.org

Sensor: timestamp property

Sensor API

no runnable cells web-api-instance-property upstream source

Sensor API

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

Browser compatibility