Pergunta de entrevista da empresa Infosys

How would you get time in Python?