Pregunta de entrevista de Freelancer

write a function to convert time to int and back to time