HTMLTimeElement
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since October 2017.
HTMLTimeElement
インターフェイスは、(継承によって利用できる、通常の HTMLElement
インターフェイスのものに加え)、<time>
要素を操作するための特別なプロパティを提供します。
プロパティ
親である HTMLElement
から継承したプロパティがあります。
HTMLTimeElement.dateTime
-
文字列で、HTML の
datetime
属性を反映し、機械可読な形式の日付と時刻の値を保持します。
メソッド
固有のメソッドはありません。親である HTMLElement
から継承したメソッドがあります。
仕様書
Specification |
---|
HTML # htmltimeelement |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
HTMLTimeElement | ||||||||||||
dateTime |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Has more compatibility info.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
関連情報
- このインターフェイスを実装する HTML 要素:
<time>
.