<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[KillerSites.com Web Design Forums - Date plus 2 days]]></title>
	<link rel="self" href="http://www.killersites.com/forums/feed/atom/topic/2382/"/>
	<updated>2009-10-29T11:02:49Z</updated>
	<generator>PunBB</generator>
	<id>http://www.killersites.com/forums/topic/2382/date-plus-2-days/</id>
		<entry>
			<title type="html"><![CDATA[Re: Date plus 2 days]]></title>
			<link rel="alternate" href="http://www.killersites.com/forums/post/11729/#p11729"/>
			<content type="html"><![CDATA[<p>Sorry, I&#039;m answering my own post again, I&#039;ve found a way to do it:-</p><p>$day2 = mktime(0,0,0,date(&quot;m&quot;),date(&quot;d&quot;)+2,date(&quot;Y&quot;));</p><p>and in the processing part of the PHP:-</p><p>if($State == &quot;NY&quot;)<br />{<br />echo &quot;$FirstName $LastName - we will get back to you within 2 days, ie before &quot; .date(&quot;d M Y&quot;, $day2); exit;<br />}</p>]]></content>
			<author>
				<name><![CDATA[Wickham]]></name>
				<uri>http://www.killersites.com/forums/user/12/</uri>
			</author>
			<updated>2009-10-29T11:02:49Z</updated>
			<id>http://www.killersites.com/forums/post/11729/#p11729</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Date plus 2 days]]></title>
			<link rel="alternate" href="http://www.killersites.com/forums/post/11728/#p11728"/>
			<content type="html"><![CDATA[<p>If this is the PHP date format:<br />echo date(&quot;d M Y&quot;);</p><p>how do I add 2 days to the current date?<br />If it&#039;s 31 December 2009 I don&#039;t want 33 December 2009.<br />Presumably I have to create variables for p and M and Y and add 2 days to d and then check if it goes beyond the month and year somehow.</p>]]></content>
			<author>
				<name><![CDATA[Wickham]]></name>
				<uri>http://www.killersites.com/forums/user/12/</uri>
			</author>
			<updated>2009-10-29T09:28:19Z</updated>
			<id>http://www.killersites.com/forums/post/11728/#p11728</id>
		</entry>
</feed>
