<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Code The World — Number of days between now and a day in the future]]></title>
	<link rel="self" href="https://codetheworld.com/extern.php?action=feed&amp;tid=12&amp;type=atom" />
	<updated>2008-06-15T16:16:01Z</updated>
	<generator>PunBB</generator>
	<id>https://codetheworld.com/viewtopic.php?id=12</id>
		<entry>
			<title type="html"><![CDATA[Re: Number of days between now and a day in the future]]></title>
			<link rel="alternate" href="https://codetheworld.com/viewtopic.php?pid=160#p160" />
			<content type="html"><![CDATA[<p>thanks, this will come in handy no doubt</p>]]></content>
			<author>
				<name><![CDATA[Hornet]]></name>
			</author>
			<updated>2008-06-15T16:16:01Z</updated>
			<id>https://codetheworld.com/viewtopic.php?pid=160#p160</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Number of days between now and a day in the future]]></title>
			<link rel="alternate" href="https://codetheworld.com/viewtopic.php?pid=33#p33" />
			<content type="html"><![CDATA[<p>Thanks a ton, I couldn&#039;t find any good examples anywhere else. Thanks.</p>]]></content>
			<author>
				<name><![CDATA[Porkey]]></name>
				<uri>https://codetheworld.com/profile.php?id=25</uri>
			</author>
			<updated>2008-06-15T03:10:42Z</updated>
			<id>https://codetheworld.com/viewtopic.php?pid=33#p33</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Number of days between now and a day in the future]]></title>
			<link rel="alternate" href="https://codetheworld.com/viewtopic.php?pid=12#p12" />
			<content type="html"><![CDATA[<p>Description<br />This will calculate and show how many days there are from the current date to a date in the future that you define.</p><p>The code<br /></p><div class="codebox"><pre><code>&lt;?php

// Change this to the day in the future
$day = 10;

// Change this to the month in the future
$month = 12;

// Change this to the year in the future
$year = 2003;

// You do not need to edit below this line

// $days is the number of days between now and the date in the future
$days = (int)((mktime (0,0,0,$month,$day,$year) - time(void))/86400);

echo &quot;There are $days days until $day/$month/$year&quot;;

?&gt;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Casper]]></name>
				<uri>https://codetheworld.com/profile.php?id=5</uri>
			</author>
			<updated>2008-06-15T01:10:29Z</updated>
			<id>https://codetheworld.com/viewtopic.php?pid=12#p12</id>
		</entry>
</feed>
