timeConvert

timeConvert function done.