For example:

from datetime import date

d1 = date(2008,8,15)
d2 = date(2008,9,15)

I’m looking for simple code to print all dates in-between:

2008,8,15  
2008,8,16  
2008,8,17  
...  
2008,9,14  
2008,9,15

Thanks

5 Answers
5

Leave a Reply

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