Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stephenhart8 opened this issue Jan 11, 2022 · 0 comments
Open

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

stephenhart8 opened this issue Jan 11, 2022 · 0 comments

Comments

@stephenhart8
Copy link
Collaborator

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).

  • Would there be other standards that could solve those issues?
  • If not, and we decide to stick to XSD:dateTime, which version should be used? (It seems for me that the version 1.1 creates more problems than it solves)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant