<?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>Comentarios en: Fecha y hora con formato &#8220;Hace x horas, x minutos, x segundos&#8221; en PHP</title>
	<atom:link href="http://www.rutarelativa.com/php/fecha-y-hora-formato-hace-x-horas-x-minutos-x-segundos-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rutarelativa.com/php/fecha-y-hora-formato-hace-x-horas-x-minutos-x-segundos-php/</link>
	<description>Porque la web es relativa</description>
	<lastBuildDate>Wed, 11 Jan 2012 02:06:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>Por: Carlos</title>
		<link>http://www.rutarelativa.com/php/fecha-y-hora-formato-hace-x-horas-x-minutos-x-segundos-php/comment-page-1/#comment-1146</link>
		<dc:creator>Carlos</dc:creator>
		<pubDate>Wed, 23 Mar 2011 21:39:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.rutarelativa.com/?p=163#comment-1146</guid>
		<description>Muy bueno tu tutorial, gracias!</description>
		<content:encoded><![CDATA[<p>Muy bueno tu tutorial, gracias!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Sergio</title>
		<link>http://www.rutarelativa.com/php/fecha-y-hora-formato-hace-x-horas-x-minutos-x-segundos-php/comment-page-1/#comment-671</link>
		<dc:creator>Sergio</dc:creator>
		<pubDate>Sun, 16 May 2010 17:10:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.rutarelativa.com/?p=163#comment-671</guid>
		<description>Hola Daniel, el código está completo en el Post. Te voy a poner un ejemplo a ver si te sirve:

&lt;?php

// Incluimos el fichero php que contiene la funcion &quot;hace&quot;
include( &#039;hace.php&#039; );

// Pintamos cuanto tiempo hace
echo &#039;hace &#039; . hace( time() );

?&gt;

Así de sencillo. También puedes enviar en lugar de time() un valor desde tu base de datos, pero usando un formato UNIX con la función de MySql UNIX_TIMESTAMP.

¡Saludos!</description>
		<content:encoded><![CDATA[<p>Hola Daniel, el código está completo en el Post. Te voy a poner un ejemplo a ver si te sirve:</p>
<p>< ?php</p>
<p>// Incluimos el fichero php que contiene la funcion "hace"<br />
include( 'hace.php' );</p>
<p>// Pintamos cuanto tiempo hace<br />
echo 'hace ' . hace( time() );</p>
<p>?></p>
<p>Así de sencillo. También puedes enviar en lugar de time() un valor desde tu base de datos, pero usando un formato UNIX con la función de MySql UNIX_TIMESTAMP.</p>
<p>¡Saludos!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Daniel</title>
		<link>http://www.rutarelativa.com/php/fecha-y-hora-formato-hace-x-horas-x-minutos-x-segundos-php/comment-page-1/#comment-670</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Fri, 14 May 2010 12:29:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.rutarelativa.com/?p=163#comment-670</guid>
		<description>Hola, no lo entiendo bien, podrias pasar el codigo completo? GRACIAS</description>
		<content:encoded><![CDATA[<p>Hola, no lo entiendo bien, podrias pasar el codigo completo? GRACIAS</p>
]]></content:encoded>
	</item>
</channel>
</rss>

