How to increment the day of a datetime?

for i in range(1, 35)
    date = datetime.datetime(2003, 8, i)
    print(date)

But I need pass through months and years correctly? Any ideas?

8 Answers
8

Leave a Reply

Your email address will not be published. Required fields are marked *