Add case for time datatype