Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

DOMHighResTimeStamp

Nos bénévoles n'ont pas encore traduit cet article en Français. Aidez-nous à réaliser cette tâche !

The DOMHighResTimeStamp type is a double and is used to store a time value. The value could be a discrete point in time or the difference in time between two discrete points in time. The unit is milliseconds and should be accurate to 5 µs (microseconds). However, if the browser is unable to provide a time value accurate to 5 microseconds (due, for example, to hardware or software constraints), the browser can represent the value as a time in milliseconds accurate to a millisecond.

Implementations that cannot get the required precision (for example, if the underlying system doesn't support it) are allowed to only be accurate to one millisecond.

Properties

This type has no properties.

Methods

This type has no methods.

Specifications

Specification Status Comment
High Resolution Time Level 2
The definition of 'DOMHighResTimeStamp' in that specification.
Editor's Draft Stricter definitions of interfaces and types.
High Resolution Time
The definition of 'DOMHighResTimeStamp' in that specification.
Recommendation Initial definition.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 6 7.0 (7.0) 9 15.0 8
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support (Yes) 15.0 (15.0) 9 15.0 9

See also

Étiquettes et contributeurs liés au document

Étiquettes : 
 Contributeurs à cette page : jestingrabbit, aarongoa, AFBarstow, jsx, chrisdavidmills, teoli, MattBrubeck
 Dernière mise à jour par : jestingrabbit,