Modified date range checking to use the datetime module.  Before
I was computing an integer associated with each date (relative
to some reference) and then checking if the begin_date had
a lower integer than the end_date.