Mega Code Archive

 
Categories / Python Tutorial / Buildin Module
 

Time localtime(secs) returns the time in the form of (year, month, day, hour, minute, second, day of week, day of year, day

import time print time.localtime()