<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Instropy &#187; php days difference</title>
	<atom:link href="http://www.instropy.com/tag/php-days-difference/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.instropy.com</link>
	<description>El blog de Oscar Nevarez Leal.</description>
	<lastBuildDate>Mon, 28 Mar 2011 20:32:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Diferencia entre dos fechas con php.</title>
		<link>http://www.instropy.com/2008/09/30/diferencia-entre-dos-fechas-con-php/</link>
		<comments>http://www.instropy.com/2008/09/30/diferencia-entre-dos-fechas-con-php/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 19:03:21 +0000</pubDate>
		<dc:creator>Insane</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[php dates work]]></category>
		<category><![CDATA[php days difference]]></category>
		<category><![CDATA[php two dates difference]]></category>

		<guid isPermaLink="false">http://instropy.com/?p=60</guid>
		<description><![CDATA[Les dejo el dato para calcular la diferencia de dias entre dos fechas.

#Calculamos la diferencia entre hoy y el 1/septiembre/2008
$dateDiff = time() - mktime(0,0,0,1,30,2008);
# dicha diferencia / segundos / minutos / horas
$fullDays = floor($dateDiff/(60*60*24));
echo "$days dias de diferencia entre ambas fechas";
#Para los one-line fans.
floor(( time() - mktime(0,0,0,1,30,2008))/ 86400 ); #60*60*24

]]></description>
		<wfw:commentRss>http://www.instropy.com/2008/09/30/diferencia-entre-dos-fechas-con-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

