You are here: Home > HTML Reference > Elements > time element
Usage
The time element represents a precise date and/or a time in the proleptic Gregorian calendar.
This element is intended as a way to encode modern dates and times in a machine-readable way so that user agents can offer to add them to the user's calendar. For example, adding birthday reminders or scheduling events.
The time element can be used to encode dates, for example in microformats. The following shows a hypothetical way of encoding an event using a variant on hCalendar that uses the time element:
```
http://www.web2con.com/ Web 2.0 Conference: October 5 - 19, at the Argent Hotel, San Francisco, CA```
Attributes
- datetime
- common attributes
Browser compatibility
Compatibility table legend
| Test | IE8 | IE7 | IE6 | FF3 | FF2 | Saf3 | Op9 | Chrome | |:---------|:--------|:--------|:--------|:--------|:--------|:---------|:--------|:-----------| | appears in DOM | Y | Y | Y | Y | Y | Y | Y | Y | | applies style | N | Y | Y | Y | Y | Y | Y | Y |