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

我們的志工尚未將此文章翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!

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

文件標籤與貢獻者

 最近更新: jestingrabbit,