Handle time type

Adding time type