venture of iit bombay vjti alumni tm_mday= tm_hour= tm_min= tm_sec= tm_wday= tm_yday= tm_isdst= getting formatted time you can format any time as per your requirementbut simple method to get time in readable format is asctime(#!/usr/bin/python import timelocaltime time asctimetime localtime(time time()print "local current time :"localtime this would produce the following result local current time tue jan : : getting calendar for month the calendar module gives wide range of methods to play with yearly and monthly calendars herewe print calendar for given month jan