<?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: PHP- Adding And Subtracting Dates</title>
	<atom:link href="http://www.brightcherry.co.uk/scribbles/2009/01/06/php-adding-and-subtracting-dates/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brightcherry.co.uk/scribbles/2009/01/06/php-adding-and-subtracting-dates/</link>
	<description></description>
	<lastBuildDate>Wed, 25 Aug 2010 19:01:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Lynn</title>
		<link>http://www.brightcherry.co.uk/scribbles/2009/01/06/php-adding-and-subtracting-dates/comment-page-1/#comment-1055</link>
		<dc:creator>Lynn</dc:creator>
		<pubDate>Mon, 09 Aug 2010 18:23:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=128#comment-1055</guid>
		<description>No.  The reason you are having trouble adding 40 years is because of the limitation of the unix timestamp.  It can&#039;t show dates beyond 2038, until they fix this, I don&#039;t know of a workaround.</description>
		<content:encoded><![CDATA[<p>No.  The reason you are having trouble adding 40 years is because of the limitation of the unix timestamp.  It can&#8217;t show dates beyond 2038, until they fix this, I don&#8217;t know of a workaround.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andy</title>
		<link>http://www.brightcherry.co.uk/scribbles/2009/01/06/php-adding-and-subtracting-dates/comment-page-1/#comment-1044</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Sun, 25 Jul 2010 22:19:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=128#comment-1044</guid>
		<description>Hey, the reson that your having trouble with adding 40 and not 39 to the year is in the way that php codes 2 digit years. just change your code into a 4 digit format and that will fix it for you.</description>
		<content:encoded><![CDATA[<p>Hey, the reson that your having trouble with adding 40 and not 39 to the year is in the way that php codes 2 digit years. just change your code into a 4 digit format and that will fix it for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Legalize Marijuana</title>
		<link>http://www.brightcherry.co.uk/scribbles/2009/01/06/php-adding-and-subtracting-dates/comment-page-1/#comment-1030</link>
		<dc:creator>Legalize Marijuana</dc:creator>
		<pubDate>Thu, 08 Jul 2010 04:21:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=128#comment-1030</guid>
		<description>It works! :)</description>
		<content:encoded><![CDATA[<p>It works! <img src='http://www.brightcherry.co.uk/scribbles/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diezdedos</title>
		<link>http://www.brightcherry.co.uk/scribbles/2009/01/06/php-adding-and-subtracting-dates/comment-page-1/#comment-1014</link>
		<dc:creator>Diezdedos</dc:creator>
		<pubDate>Fri, 25 Jun 2010 00:52:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=128#comment-1014</guid>
		<description>Muchas gracias!!!</description>
		<content:encoded><![CDATA[<p>Muchas gracias!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ash</title>
		<link>http://www.brightcherry.co.uk/scribbles/2009/01/06/php-adding-and-subtracting-dates/comment-page-1/#comment-982</link>
		<dc:creator>Ash</dc:creator>
		<pubDate>Thu, 20 May 2010 20:15:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.brightcherry.co.uk/scribbles/?p=128#comment-982</guid>
		<description>chill, here is how you can add substract days as variables:

 $diff = 16;
	 
						$newdate = strtotime( &#039;+&#039; . $diff .&#039; day&#039; , strtotime ( $date1 ) ) ;</description>
		<content:encoded><![CDATA[<p>chill, here is how you can add substract days as variables:</p>
<p> $diff = 16;</p>
<p>						$newdate = strtotime( &#8216;+&#8217; . $diff .&#8217; day&#8217; , strtotime ( $date1 ) ) ;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
