How to determine if one date is before another
What is the problem here? Since the dates are obviously in ISO notation you can perform a standard comparison of the dates as strings here...
Yes, see datetime comparison in the python docs:
>>> "2011-06-24" > "2010-06-23"
True
>>> "2011-06-24" > "2012-06-25"
False