Date And Time


#1



https://www.codecademy.com/courses/python-beginner-en-zFPOx/0/5?curriculum_id=4f89dab3d788890003000096


the time displayed by the output screens appears to be different from the time of my laptop whereas the date was right.. any guesses? why is it happening.


getting the exact time as my laptop


print "%s:%s:%s" %(now.hour,now.minute,now.second)

https://www.codecademy.com/courses/python-beginner-en-zFPOx/0/5?curriculum_id=4f89dab3d788890003000096


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.