Source

woocode / py / compare_date.py

Full commit
import datetime

dates = ['2012-05-30',
         '2012-05-16',
         '2012-05-13',
         '2012-04-29',
         '2012-04-28',
         '2012-05-12',
         '2012-04-27',
         '2012-04-26',
         '2012-06-03',
         '2012-06-01',]

day_fmt =  '%Y-%m-%d'

t = ('2012-05-13', '2012-06-01')

dates = [datetime.datetime.strptime(d, day_fmt) for d in dates]
dt = [datetime.datetime.strptime(d, day_fmt) for d in t]

for date in dates:
    if date >= dt[1]:
        print date