<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description></description><title>Reserved as Magical</title><generator>Tumblr (3.0; @magicmethod)</generator><link>http://magicmethod.tumblr.com/</link><item><title>Last 24 Months from today</title><description>&lt;p&gt;Somebody wanted to know how they would go about getting the last 24 months from today and I wrote this little snippet to do just that:&lt;/p&gt;
&lt;pre&gt;$months = array();
$date = mktime(0, 0, 0, date('n'), 1);
for($i = -1; $i &amp;gt;= -24; $i--) {
    $months[] = date('F', strtotime($i.' month', $date));
}
print_r($months);&lt;/pre&gt;
&lt;p&gt;Hopefully someone else might find it useful too :D&lt;/p&gt;</description><link>http://magicmethod.tumblr.com/post/41927751376</link><guid>http://magicmethod.tumblr.com/post/41927751376</guid><pubDate>Thu, 31 Jan 2013 00:32:08 -0500</pubDate></item></channel></rss>
