<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to Add Months to a Date in Python</title>
	<atom:link href="http://www.answermysearches.com/how-to-add-months-to-a-date-in-python/53/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.answermysearches.com/how-to-add-months-to-a-date-in-python/53/</link>
	<description>Answers to everything I search for, every day</description>
	<lastBuildDate>Tue, 22 Nov 2011 08:57:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Greg Pinero (Primary Searcher)</title>
		<link>http://www.answermysearches.com/how-to-add-months-to-a-date-in-python/53/comment-page-1/#comment-66</link>
		<dc:creator>Greg Pinero (Primary Searcher)</dc:creator>
		<pubDate>Sat, 18 Feb 2006 01:54:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.answermysearches.com/index.php/how-to-add-months-to-a-date-in-python/53/#comment-66</guid>
		<description>Thanks Waldemar, that does work.  It also looks like an excellent package.  Well, at the very least I&#039;ve learned an appriciation for adding months today ;-)</description>
		<content:encoded><![CDATA[<p>Thanks Waldemar, that does work.  It also looks like an excellent package.  Well, at the very least I&#8217;ve learned an appriciation for adding months today <img src='http://www.answermysearches.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldemar</title>
		<link>http://www.answermysearches.com/how-to-add-months-to-a-date-in-python/53/comment-page-1/#comment-65</link>
		<dc:creator>Waldemar</dc:creator>
		<pubDate>Sat, 18 Feb 2006 01:41:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.answermysearches.com/index.php/how-to-add-months-to-a-date-in-python/53/#comment-65</guid>
		<description>Hard work for date manipulation has been done already in:
http://labix.org/python-dateutil

From the examples on the page:
import datetime
from dateutil.relativedelta import relativedelta

NOW = datetime.datetime.now()
NOW + relativedelta(months=+1)</description>
		<content:encoded><![CDATA[<p>Hard work for date manipulation has been done already in:<br />
<a href="http://labix.org/python-dateutil" rel="nofollow">http://labix.org/python-dateutil</a></p>
<p>From the examples on the page:<br />
import datetime<br />
from dateutil.relativedelta import relativedelta</p>
<p>NOW = datetime.datetime.now()<br />
NOW + relativedelta(months=+1)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Pinero (Primary Searcher)</title>
		<link>http://www.answermysearches.com/how-to-add-months-to-a-date-in-python/53/comment-page-1/#comment-64</link>
		<dc:creator>Greg Pinero (Primary Searcher)</dc:creator>
		<pubDate>Sat, 18 Feb 2006 00:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.answermysearches.com/index.php/how-to-add-months-to-a-date-in-python/53/#comment-64</guid>
		<description>Good thought, Phil but I get:

&gt;&gt;&gt; today = datetime.datetime.now()
&gt;&gt;&gt; nextMonth = today + datetime.timedelta(months=1)
Traceback (most recent call last):
  File &quot;&lt;interactive input&gt;&quot;, line 1, in ?
TypeError: &#039;months&#039; is an invalid keyword argument for this function</description>
		<content:encoded><![CDATA[<p>Good thought, Phil but I get:</p>
<p>>>> today = datetime.datetime.now()<br />
>>> nextMonth = today + datetime.timedelta(months=1)<br />
Traceback (most recent call last):<br />
  File &#8220;<interactive input>&#8220;, line 1, in ?<br />
TypeError: &#8216;months&#8217; is an invalid keyword argument for this function</interactive></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phil</title>
		<link>http://www.answermysearches.com/how-to-add-months-to-a-date-in-python/53/comment-page-1/#comment-63</link>
		<dc:creator>phil</dc:creator>
		<pubDate>Sat, 18 Feb 2006 00:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.answermysearches.com/index.php/how-to-add-months-to-a-date-in-python/53/#comment-63</guid>
		<description>And what about using datetime.timedelta ?

&lt;code&gt;
today = datetime.datetime.now()
nextMonth = today + datetime.timedelta(months=1)
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>And what about using datetime.timedelta ?</p>
<p><code><br />
today = datetime.datetime.now()<br />
nextMonth = today + datetime.timedelta(months=1)<br />
</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

