Archive for September, 2004

ISO-8601, made a little easier

Friday, September 10th, 2004

One of the nicer things about XQuery is that it supports xs:date, xs:time, and xs:dateTime (from XML Schema). But XQuery is short of handy ways to convert human-readable dates and times into ISO-8601, the XML Schema format for dates and times.

Life is much easier if your XML already has all the dates and times in ISO-8601 format. So I’ve written a tutorial on ISO-8601 dates, and how to generate them in Java.