0
We are runing a date and time python code using sublime text 3 ,coding isnt running. An
3 Answers
+ 2
Code and example of it running?
0
from datetime import datetime now = datetime.now() mm = str(now.month) dd = str(now.day) yyyy = str(now.year) hour = str(now.hour) mi = str(now.minute) ss = str(now.second) print mm + "/" + dd + "/" + yyyy + " " + hour + ":" + mi + ":" + ss
0
date time now = datetime.now()
mm = str(now.month)
dd = str(now.day)
yyyy = str(now.year)
hour = str(now.hour)
mi = str(now.minute)
ss = str+now.second)
print mm + "/" + dd + "/" + yyyy + " " + hour + ":" + mm + ":" + ss