Add support for date and time types: YEAR, TIME, DATE, DATETIME and
TIMESTAMP.