On Fri, Oct 20, 2006 at 11:55:39AM -0400, William O'Higgins Witteman wrote: > I've been looking into this, and I am not understanding how to get this > task done. I need to be able to look at a time object and know if it si > between now and a set point 120 days in the future. I can get a value > for now (currently I am using datetime.datetime.now()), but I haven't > found a way to get now + 120 days, or figured out how to test if a given > datetime falls between the two. Any pointers would be appreciated. > Thanks.
Take a look at mxDateTime: http://www.egenix.com/files/python/mxDateTime.html It provides arithmetic and comparison operations. Dave -- Dave Kuhlman http://www.rexx.com/~dkuhlman _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor