I have 2 dates and I am trying to build labels of an x-axis of a plot.
As such, I need a way to take 2 datetime objects, i.e 2009-10-12 00:00:00 and 2009-10-20 00:00:00 and generate a list like so:
["2009-10-12", "2009-10-13", "2009-10-14", ..., "2009-10-19", "2009-10-20"]
What libraries should I use to assist? I have a feeling the datetime module and the timedelta functionality will help quite a bit.
I can include code if it makes sense to, but I have a feeling there's something built in to the python libraries that allow for this to be real easy. I seem to just be missing it.