Pergunta de entrevista da empresa Freelancer

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