ISO8601 date parser and writer