<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/php/tags/date</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 04 Jul 2008 17:46:34 GMT</pubDate>
<item>
<title>(PHP) PHP date comparision - morroida</title>
<link>http://snipplr.com/view/6764/php-date-comparision/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 18 Jun 2008 11:30:44 GMT</pubDate>
<guid>http://snipplr.com/view/6764/php-date-comparision/</guid>
</item>
<item>
<title>(PHP) Qcodo date format - morroida</title>
<link>http://snipplr.com/view/6763/qcodo-date-format/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 18 Jun 2008 11:27:56 GMT</pubDate>
<guid>http://snipplr.com/view/6763/qcodo-date-format/</guid>
</item>
<item>
<title>(PHP) List directory contents by date - romanos</title>
<link>http://snipplr.com/view/6684/list-directory-contents-by-date/</link>
<description><![CDATA[ <p>Loads the contens of a dir an sorts them by the date of creation.</p> ]]></description>
<pubDate>Fri, 13 Jun 2008 00:22:09 GMT</pubDate>
<guid>http://snipplr.com/view/6684/list-directory-contents-by-date/</guid>
</item>
<item>
<title>(PHP) date diff - lfatr</title>
<link>http://snipplr.com/view/6310/date-diff/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 19 May 2008 13:38:50 GMT</pubDate>
<guid>http://snipplr.com/view/6310/date-diff/</guid>
</item>
<item>
<title>(PHP) Function to validate date format in PHP - estebant</title>
<link>http://snipplr.com/view/6176/function-to-validate-date-format-in-php/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 11 May 2008 05:30:57 GMT</pubDate>
<guid>http://snipplr.com/view/6176/function-to-validate-date-format-in-php/</guid>
</item>
<item>
<title>(PHP) Sample date calculations - stancell</title>
<link>http://snipplr.com/view/5937/sample-date-calculations/</link>
<description><![CDATA[ <p>Today, tomorrow, yesterday and other date calculations</p> ]]></description>
<pubDate>Mon, 21 Apr 2008 12:44:38 GMT</pubDate>
<guid>http://snipplr.com/view/5937/sample-date-calculations/</guid>
</item>
<item>
<title>(PHP) Generated Copyright Year - unravelme1</title>
<link>http://snipplr.com/view/5916/generated-copyright-year/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 19 Apr 2008 03:16:51 GMT</pubDate>
<guid>http://snipplr.com/view/5916/generated-copyright-year/</guid>
</item>
<item>
<title>(PHP) Restar fechas en PHP Subtract 2 Dates on PHP - isaac</title>
<link>http://snipplr.com/view/5870/restar-fechas-en-php-subtract-2-dates-on-php/</link>
<description><![CDATA[ <p>Fecha en formato dd/mm/yyyy o dd-mm-yyyy retorna la diferencia en dias</p> ]]></description>
<pubDate>Tue, 15 Apr 2008 15:28:22 GMT</pubDate>
<guid>http://snipplr.com/view/5870/restar-fechas-en-php-subtract-2-dates-on-php/</guid>
</item>
<item>
<title>(PHP) Easy transform date format y-m-d => d-m-y on PHP - isaac</title>
<link>http://snipplr.com/view/5868/easy-transform-date-format-ymd--dmy-on-php/</link>
<description><![CDATA[ <p>This changes the date format from y-m-d to d-m-y on PHP</p> ]]></description>
<pubDate>Tue, 15 Apr 2008 14:42:47 GMT</pubDate>
<guid>http://snipplr.com/view/5868/easy-transform-date-format-ymd--dmy-on-php/</guid>
</item>
<item>
<title>(PHP) Easy transform date format y-m-d => d-m-y on PHP - isaac</title>
<link>http://snipplr.com/view/5867/easy-transform-date-format-ymd--dmy-on-php/</link>
<description><![CDATA[ <p>This changes the date format from y-m-d to d-m-y on PHP. It's easy to change the - to / or spaces...</p> ]]></description>
<pubDate>Tue, 15 Apr 2008 14:39:19 GMT</pubDate>
<guid>http://snipplr.com/view/5867/easy-transform-date-format-ymd--dmy-on-php/</guid>
</item>
<item>
<title>(PHP) Easy transform date format d-m-y => y-m-d on PHP - isaac</title>
<link>http://snipplr.com/view/5866/easy-transform-date-format-dmy--ymd-on-php/</link>
<description><![CDATA[ <p>This changes the date format from d-m-y to y-m-d on PHP. It's easy to change the - to / or spaces...</p> ]]></description>
<pubDate>Tue, 15 Apr 2008 14:34:11 GMT</pubDate>
<guid>http://snipplr.com/view/5866/easy-transform-date-format-dmy--ymd-on-php/</guid>
</item>
<item>
<title>(PHP) Days ago function - patcullen</title>
<link>http://snipplr.com/view/5813/days-ago-function/</link>
<description><![CDATA[ <p>Takes a date and returns a string describing how long ago that date was. examples: 3 seconds ago, 5 days ago, 2 years ago, you get the idea :)</p> ]]></description>
<pubDate>Mon, 14 Apr 2008 04:22:58 GMT</pubDate>
<guid>http://snipplr.com/view/5813/days-ago-function/</guid>
</item>
<item>
<title>(PHP) Set date Function Timezone - johnself</title>
<link>http://snipplr.com/view/5716/set-date-function-timezone/</link>
<description><![CDATA[ <p>Instead of using this function to set the default timezone in your script, you can also use the INI setting date.timezone to set the default timezone.

* Does not affect timestamp functions, which are all GMT</p> ]]></description>
<pubDate>Sun, 06 Apr 2008 10:26:47 GMT</pubDate>
<guid>http://snipplr.com/view/5716/set-date-function-timezone/</guid>
</item>
<item>
<title>(PHP) PHP Copyright Date - tigercore</title>
<link>http://snipplr.com/view/5426/php-copyright-date/</link>
<description><![CDATA[ <p>This will always show the correct date... so it'll say "Copyright 2008 Comapany Name" now, and at exactly midnight on 1st January 2009, it'll say "Copyright 2009 Company Name".  Simple!</p> ]]></description>
<pubDate>Fri, 14 Mar 2008 10:35:41 GMT</pubDate>
<guid>http://snipplr.com/view/5426/php-copyright-date/</guid>
</item>
<item>
<title>(PHP) Wordpress Snippet to set Post Expiration time and date - dwest</title>
<link>http://snipplr.com/view/5128/wordpress-snippet-to-set-post-expiration-time-and-date/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 20 Feb 2008 00:30:18 GMT</pubDate>
<guid>http://snipplr.com/view/5128/wordpress-snippet-to-set-post-expiration-time-and-date/</guid>
</item>
<item>
<title>(PHP) create_timestamp - razel</title>
<link>http://snipplr.com/view/4921/createtimestamp/</link>
<description><![CDATA[ <p>Forms a php timestamp out of an date string i.e. create_timestamp(24.12.2007);</p> ]]></description>
<pubDate>Wed, 06 Feb 2008 11:07:53 GMT</pubDate>
<guid>http://snipplr.com/view/4921/createtimestamp/</guid>
</item>
<item>
<title>(PHP) Relative Time - jaytee</title>
<link>http://snipplr.com/view/4912/relative-time/</link>
<description><![CDATA[ <p>Takes a date and returns the relative time (e.g. "10 minutes ago", "3 weeks ago", etc.)  Past four weeks, it just returns the date in the form "January 1, 2008".</p> ]]></description>
<pubDate>Wed, 06 Feb 2008 00:29:21 GMT</pubDate>
<guid>http://snipplr.com/view/4912/relative-time/</guid>
</item>
<item>
<title>(PHP) Convert MySQL Date To Something Else in PHP - meme</title>
<link>http://snipplr.com/view/4864/convert-mysql-date-to-something-else-in-php/</link>
<description><![CDATA[ <p>The code below will format 2008-01-30 10:58:32 to Jan 30, 2008 

See the page http://us2.php.net/date for a complete list of formatting codes.</p> ]]></description>
<pubDate>Thu, 31 Jan 2008 17:13:40 GMT</pubDate>
<guid>http://snipplr.com/view/4864/convert-mysql-date-to-something-else-in-php/</guid>
</item>
<item>
<title>(PHP) Smarty: unix timestamp to date - FrankBr</title>
<link>http://snipplr.com/view/4636/smarty-unix-timestamp-to-date/</link>
<description><![CDATA[ <p>A simple but usefull smarty plugin to convert a unix timestamp to any date format.

Usage: {$var|convertunix:"d-m-Y"}</p> ]]></description>
<pubDate>Fri, 18 Jan 2008 06:37:27 GMT</pubDate>
<guid>http://snipplr.com/view/4636/smarty-unix-timestamp-to-date/</guid>
</item>
<item>
<title>(PHP) Humaniser l'affichage de durées écoulées - clapfouine</title>
<link>http://snipplr.com/view/4591/humaniser-laffichage-de-dures-coules/</link>
<description><![CDATA[ <p>Taken from : http://www.phpfreechat.net/forum/viewtopic.php?pid=7587
See also this class : http://www.phpbuilder.com/snippet/download.php?type=snippet&amp;id=2205</p> ]]></description>
<pubDate>Tue, 15 Jan 2008 07:33:18 GMT</pubDate>
<guid>http://snipplr.com/view/4591/humaniser-laffichage-de-dures-coules/</guid>
</item>
</channel>
</rss>