I want to get the value of datetime using python code ex. 20141104 that is example what I want to get then, How can I get the datetime like that.
import calendar
for month in range(1, 13):
year = 2014
make_calendar = calendar.monthcalendar(year, month)
for weekend in make_calendar:
for day in weekend:
if (day != 0):
parameter = str(year) + str(month) + str(day)
print parameter
-> I try to get value like example but, the result is 201442. I want to 20140402 not 201442.
I'm in need of help.