<?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: Yesterday&#8217;s date in Python</title>
	<atom:link href="http://www.thejackol.com/2005/07/01/yesterdays-date-in-python/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thejackol.com/2005/07/01/yesterdays-date-in-python/</link>
	<description>01100010 01101100 01100101 01101000</description>
	<lastBuildDate>Tue, 07 Feb 2012 21:10:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Wyatt Baldwin</title>
		<link>http://www.thejackol.com/2005/07/01/yesterdays-date-in-python/comment-page-1/#comment-187988</link>
		<dc:creator>Wyatt Baldwin</dc:creator>
		<pubDate>Tue, 06 Jan 2009 20:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.thejackol.com/?p=154#comment-187988</guid>
		<description>How about this:

# assuming you don&#039;t need hours, minutes, and seconds:
import datetime
today = datetime.date.today()
yesterday = today - datetime.timedelta(1)

# or, if you do need hours, minutes, and seconds:
now = datetime.datetime.now()
yesterday_at_this_time = now -  datetime.timedelta(1)</description>
		<content:encoded><![CDATA[<p>How about this:</p>
<ol>
<li>assuming you don&#8217;t need hours, minutes, and seconds:</li>
</ol>
<p>
import datetime<br />
today = datetime.date.today()<br />
yesterday = today &#8211; datetime.timedelta(1)</p>
<ol>
<li>or, if you do need hours, minutes, and seconds:</li>
</ol>
<p>
now = datetime.datetime.now()<br />
yesterday_at_this_time = now &#8211;  datetime.timedelta(1)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Traut</title>
		<link>http://www.thejackol.com/2005/07/01/yesterdays-date-in-python/comment-page-1/#comment-92758</link>
		<dc:creator>Traut</dc:creator>
		<pubDate>Wed, 12 Dec 2007 11:21:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.thejackol.com/?p=154#comment-92758</guid>
		<description>thank you :)</description>
		<content:encoded><![CDATA[<p>thank you :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

