||A representation of the element’s date and time contents.||Machine-readable date and/or time (see later).|
The machine-readable part of the
time element (either its contents or the value of its
datetime attribute) can take on various forms:
- Year, eg.
0001(must be a four-digit number that is 1 or above)
- Month, eg.
- Date, eg.
- Time, eg.
- Time-zone offset, eg.
Z(UTC timezone) or
+5:00(plus 5 hours)
- Date and time, eg.
- Week, eg.
- Duration, eg.
10h 50m 13s
<p>Juniper was born on <time datetime="2015-5-19 10:18Z">Tuesday 19th May 2015 at 10.18am</time>.</p>