chin-rcip / collections-model

Linked Open Data Development at the Canadian Heritage Information Network - Développement en données ouvertes et liées au Réseau canadien d'information sur le patrimoine
Creative Commons Zero v1.0 Universal
12 stars 1 forks source link

How to use XSD:dateTime for BCE dates? #81

Open stephenhart8 opened 2 years ago

stephenhart8 commented 2 years ago

The most commonly used standard in managing dates is XSD:dateTime. It indicates the year, month, day, hours, minutes and seconds of an event. For instance, "2002-10-09T19:00:00" amounts to the 9th of October 2002, at 7pm (time zones have been omitted in CHIN’s use of the standard, for simplicity of use, and also because the timezone is often not known).

However, things are complicated when documenting events that happened before the year 1 CE, or in other words, dates before the common era (BCE).

Depending of the version of XSD:dateTime, there are two ways of documenting those "negative" dates:

Both options seem problematic, either from a computational standpoint (problems calculating intervals) or from a display standpoint (a shift of one year between the year recorded and the number encoded).