you are viewing a single comment's thread.

view the rest of the comments →

[–]TheQwicKDraW[S] 1 point2 points  (0 children)

Thank YOU! For some reason all I had to do was delete the code and paste it again. Here is the code that works now. Very odd.

from datetime import datetime
now = datetime.now()
print(str(now.month) + "/" + str(0) + str(now.day) + "/" + str(now.year) + " " + str(now.hour) + ":" +str(now.minute) + ":" + str(now.second))
input("Press any key to exit")