[Tutor] timedelta doesnt do month
alan.gauld at btinternet.com
Tue Feb 6 10:32:23 CET 2007
"Kent Johnson" <kent37 at tds.net> wrote
> Because of the ambiguities of month arithmetic (what is 2005-1-31
> one month?) datetime refuses to guess and does not support this.
> The third-party dateutil module is not as circumspect:
> In : import datetime
> In : startdate = datetime.date(2005,2,13)
As a matter of interest what would dateutil do with
the example above?
More information about the Tutor