A date or time or both
time
The time element is used to mark a date or time within a sentence.
It provides a way to specify a computer-readable time, for calendaring or other uses, while giving the reader the same time in the vernacular.
Properties
- datetime
- The datetime attribute defines the time in one of these computer readable formats:
YYYYYYYY-MMYYYY-MM-DDMM-DDYYYY-Www(year and week)hh:mmhh:mm:sshh:mm:ss.mmm(time with milliseconds)YYYY-MM-DDThh:mm:ss.mmmYYYY-MM-DDThh:mm:ss.mmmZ(UTC time)PhhH(duration in hours)PmmM(duration in minutes)PssS(duration in seconds)
Examples
The year <<time *datetime=2000 2000>> was a leap-year, and
<<time *datetime=2000-02-29 February 29th, 2000>> was only the
second quadricentennial leap day ever, the first and only other one
occurring in <<time *datetime=1600-02 February of the year 1600>>.
