datetime: the date of the day one month ago...how?

Kent Johnson kent at kentsjohnson.com
Wed Apr 12 07:35:54 EDT 2006


gabor wrote:
> hi,
> 
> i'm trying to get the date of the day one month ago.
> 
> for example:
> 
> today = 	12.apr.2006
> one-month-ago = 12.mar.2006

dateutil has one implementation of this:
http://labix.org/python-dateutil

Kent



More information about the Python-list mailing list