Add a month

Paul Boddie paul at boddie.org.uk
Fri Feb 17 07:15:39 EST 2006


Fredrik Lundh wrote:
>
> what do you expect d_new to be after the operation ?  if the answer
> is date(2006,3,17), what's date(2006,1,31) plus one month?

February 31st, of course:

http://sql-info.de/mysql/gotchas.html#1_14

;-)

Paul




More information about the Python-list mailing list