<?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: MySQL Datetime string to a Timestamp</title>
	<atom:link href="http://www.emgarten.com/mysql-datetime-to-python-timestamp.htm/feed" rel="self" type="application/rss+xml" />
	<link>http://www.emgarten.com/mysql-datetime-to-python-timestamp.htm</link>
	<description>Exploring the realms of code..</description>
	<lastBuildDate>Thu, 03 Dec 2009 02:03:16 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: axdkcd</title>
		<link>http://www.emgarten.com/mysql-datetime-to-python-timestamp.htm/comment-page-1#comment-260</link>
		<dc:creator>axdkcd</dc:creator>
		<pubDate>Tue, 22 Apr 2008 14:46:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.emgarten.com/15.htm#comment-260</guid>
		<description>thanks a ton. these gems save us so much time!</description>
		<content:encoded><![CDATA[<p>thanks a ton. these gems save us so much time!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olivio Moura</title>
		<link>http://www.emgarten.com/mysql-datetime-to-python-timestamp.htm/comment-page-1#comment-258</link>
		<dc:creator>Olivio Moura</dc:creator>
		<pubDate>Fri, 21 Mar 2008 22:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.emgarten.com/15.htm#comment-258</guid>
		<description>from time import strptime, strftime

olddate = &#039;05:26:40 Jun 19, 2007 PST&#039;
newdate = strptime(&quot; &quot;.join(olddate.split()[:-1]), &quot;%H:%M:%S %b %d, %Y&quot;)
print newdate
mysqldate = strftime(&quot;%Y-%m-%d %H:%M:%S&quot;, newdate)
print mysqldate</description>
		<content:encoded><![CDATA[<p>from time import strptime, strftime</p>
<p>olddate = &#8216;05:26:40 Jun 19, 2007 PST&#8217;<br />
newdate = strptime(&#8221; &#8220;.join(olddate.split()[:-1]), &#8220;%H:%M:%S %b %d, %Y&#8221;)<br />
print newdate<br />
mysqldate = strftime(&#8221;%Y-%m-%d %H:%M:%S&#8221;, newdate)<br />
print mysqldate</p>
]]></content:encoded>
	</item>
</channel>
</rss>
