Added TimeType. Fixes #2933
Merge pull request #3044 from tigrang/time-type

Added TimeType. Fixes #2933