Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
title Example 1: A single year date describing an open ended collection
<dates type="dc.available">
	<date type="dateFrom" dateFormat="W3CDTF">2011</date>
</dates>
Code Block
languagexml
title Example 2: A date range
<dates type="dc.created">
	<date type="dateFrom" dateFormat="W3CDTF">2009-09-20</date>
	<date type="dateTo" dateFormat="W3CDTF">2010-10-15</date>
</dates>
Code Block
languagexml
title Example 3: A date range including time
<dates type="dc.created">
	<date type="dateFrom" dateFormat="W3CDTF">2009-09-20T09:15:00Z</date>
	<date type="dateTo" dateFormat="W3CDTF">2010-01-01T09:45:00Z</date>
</dates>
Code Block
languagexml
title Example 4: Multiple instances of Dates Type
<dates type="dc.created">
	<date type="dateFrom" dateFormat="W3CDTF">2009-09-20T00:00:00Z</date>
	<date type="dateTo" dateFormat="W3CDTF">2010-01-01T00:00:00Z</date>
</dates>
<dates type="dc.available">
	<date type="dateFrom" dateFormat="W3CDTF">2011</date>
</dates>

...

Expand
titleClick here to view...
DateChange history
20 Nov 2012Page created                      
12 Jul 2017Page reviewed and updated
30 Oct 2018Page reviewed and links updated
28 Nov 2018Examples updated to fix errors with Dates Type vocabulary