Names, People, and Places

18. ISO Date Fomats

For some uses the subset of ISO 8601 which is used by the W3C might not be enough, so the TEI provides an optional att.datable.iso class to give the following attributes if needed:
@when-iso
the value of a date or time in a standard form
@notBefore-iso
the earliest possible date for the event
@notAfter-iso
the latest possible date for the event
@from-iso
the starting point of the period
@to-iso
the ending point of the period
@dur-iso
the length of this element in time

The ISO standard, for example, allows specifying dates and durations with a precision by omitting some digits to the left, while the W3C datatypes require in most cases conformance to a stricter precision.

Up: Contents Previous: 17. Example Next: 19. Example