Support for time data type.

fixes #9