Conversion of date representations

Both the library and the library provide functions that convert from the text (string) representation of a date value to the binary (internal) representation for DATE.