[BangPypers] date range
hartror at gmail.com
Tue Feb 9 11:48:02 CET 2010
It is nice and easy thankfully.
datetime.date and datetime.datetime both support < > operators
if startdate < date and date < enddate:
print "date in range"
On Tue, Feb 9, 2010 at 9:22 PM, Kenneth Gonsalves <lawgon at au-kbc.org> wrote:
> any easy way of finding out whether a given date is between two other
> Kenneth Gonsalves
> Senior Project Officer
> BangPypers mailing list
> BangPypers at python.org
More information about the BangPypers