Constructors
| Constructor | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape | ||
|---|---|---|---|---|---|---|---|---|---|
|
HTMLTimeElement Constructor() : HTMLTimeElement
Creates an instance of the HTMLTimeElement.
|
Show Details | no | no | no | no | no | no | ||
HTMLTimeElement() : HTMLTimeElementCreates an instance of the HTMLTimeElement. Returns
|
|||||||||
Properties
| Property | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape |
|---|---|---|---|---|---|---|---|
|
dateTime
: String
Gives the date or time being specified.
|
Show Details | no | no | no | no | no | no |
|
|||||||
|
pubDate
: Boolean
Indicates that the date and time given by the element is the publication date and time of the nearest ancestor article element,
or, if the element has no ancestor article element, of the document as a whole.
|
Show Details | no | no | no | no | no | no |
|
|||||||
|
valueAsDate
: Date
Returns a Date object representing the specified date and time.
|
Show Details | no | no | no | no | no | no |
|
|||||||
Inherited Functions
| Method | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
getElementsByClassName(String classNames) : NodeList
Returns a NodeList containing all the
Element nodes with the specified classNames. |
Show Details | 1.9+ | 5.0+ | 3.1+ | 9.51+ | no | no | |||||
|
Parameters
Returns
|
||||||||||||
References
Availability
JavaScript 1.2|WhatWG