The DOMHighResTimeStamp
type is a double
representing a number of milliseconds, accurate to the thousandth of millisecond, that is with a precision of 1 µs.
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
No specific property.
Methods
No specific method.
Specifications
Specification | Status | Comment |
---|---|---|
{{SpecName('Highres Time', '#sec-DOMHighResTimeStamp', 'DOMHighResTimeStamp')}} | {{Spec2('Highres Time')}} | Initial definition. |
Browser compatibility
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 6 | {{CompatGeckoDesktop("7.0")}} | 9 | 15.0 | {{CompatNo}} |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | {{CompatVersionUnknown}} | {{CompatGeckoMobile("15.0")}} | 9 | 15.0 | {{CompatNo}} |