Infosys interview question

How would you get time in Python?