While reviewing my past answers, I noticed I\'d proposed code such as this:
import time
def dates_between(start, end):
# muck around between the 9k+ time
In all time zones that "support" daylight savings time, you'll get two days a year that don't have 24h. They'll have 25h or 23h respectively. And don't even think of hardcoding those dates. They change every year, and between time zones.
Oh, and here's a list of 34 other reasons that you hadn't thought about, and why you shouldn't do what you're doing.