fyi rrule can be nice for this type of thing: http://labix.org/python-dateutil#head-470fa22b2db72000d7abe698a5783a46b0731b57