conversion function added for TimeArrays