Dates and Times #
Get the time
import time
now = time.localtime()
month = now[1]
day = now[2]
(hour, minutes, seconds) = now[3:6]
print datetime in isoformat
timestamp.isoformat()
Get the time
import time
now = time.localtime()
month = now[1]
day = now[2]
(hour, minutes, seconds) = now[3:6]
print datetime in isoformat
timestamp.isoformat()