Date manipulation in Python

Chris Barker chrishbarker at attbi.com
Mon Dec 10 14:07:22 EST 2001


David Brady wrote:
 but I'd like to be
> able to move around in the date and still be able to
> print out the correct calendar.  For example, if today
> were Saturday, December 1st, I'd like to be able to
> show the week from Monday, November 26th through
> Sunday, December 30th.

check out the mxDateTime module, it does all this and more!

http://www.lemburg.com/files/python/

-Chris






-- 
Christopher Barker,
Ph.D.                                                           
ChrisHBarker at attbi.net                ---           ---           ---
                                     ---@@       -----@@       -----@@
                                   ------@@@     ------@@@     ------@@@
Oil Spill Modeling                ------   @    ------   @   ------   @
Water Resources Engineering       -------      ---------     --------    
Coastal and Fluvial Hydrodynamics --------------------------------------
------------------------------------------------------------------------



More information about the Python-list mailing list