Added a Date column time.

Internally values are stored as timestamp with the time components zeroed.
Allow date values to be used for datetime fields.