Pergunta de entrevista da empresa 2U

Parse an HH:MM:SS date string and write it in a different format