change time type