<?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/days</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 21 May 2013 17:14:17 GMT</pubDate>
<item>
<title>(PHP) How to Find Tomorrow, Next Month, or Next Year using PHP - fackz</title>
<link>http://snipplr.com/view/50993/how-to-find-tomorrow-next-month-or-next-year-using-php/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 23 Mar 2011 08:42:56 GMT</pubDate>
<guid>http://snipplr.com/view/50993/how-to-find-tomorrow-next-month-or-next-year-using-php/</guid>
</item>
<item>
<title>(PHP) Number of days between 2 dates - klovera</title>
<link>http://snipplr.com/view/47642/number-of-days-between-2-dates/</link>
<description><![CDATA[ <p>// example 
$from = '2011-1-6'; 
$to = '2011-1-8'; 
dateDiff($from,$to); // returns 2</p> ]]></description>
<pubDate>Fri, 21 Jan 2011 08:11:23 GMT</pubDate>
<guid>http://snipplr.com/view/47642/number-of-days-between-2-dates/</guid>
</item>
<item>
<title>(PHP) PHP Days Ago Script - alvincrespo</title>
<link>http://snipplr.com/view/38732/php-days-ago-script/</link>
<description><![CDATA[ <p>Working on creating a 'days ago' script. I know some already exist, but I just want to know how to do it myself. I'm also incorporating leap year functionality and some utility functions that could be used on other projects.</p> ]]></description>
<pubDate>Mon, 09 Aug 2010 05:09:24 GMT</pubDate>
<guid>http://snipplr.com/view/38732/php-days-ago-script/</guid>
</item>
<item>
<title>(PHP) Count days until date - jcroom</title>
<link>http://snipplr.com/view/18690/count-days-until-date/</link>
<description><![CDATA[ <p>I made this script to count the days until a birthday, the birthdays are stored in mysql with the year intact YYYY-MM-DD, so this function strips the first 4 chars, and adds the current year, if the date has already passed it adds the next year and counts for that.</p> ]]></description>
<pubDate>Fri, 21 Aug 2009 16:20:45 GMT</pubDate>
<guid>http://snipplr.com/view/18690/count-days-until-date/</guid>
</item>
<item>
<title>(PHP) number of days in a certain year - bartclaeys</title>
<link>http://snipplr.com/view/14279/number-of-days-in-a-certain-year/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 22 Apr 2009 09:03:32 GMT</pubDate>
<guid>http://snipplr.com/view/14279/number-of-days-in-a-certain-year/</guid>
</item>
<item>
<title>(PHP) Script to delete files in a directory (X days old) - fackz</title>
<link>http://snipplr.com/view/13431/script-to-delete-files-in-a-directory-x-days-old/</link>
<description><![CDATA[ <p>delete all files in a directory that are more than 7 days old.</p> ]]></description>
<pubDate>Wed, 25 Mar 2009 10:11:57 GMT</pubDate>
<guid>http://snipplr.com/view/13431/script-to-delete-files-in-a-directory-x-days-old/</guid>
</item>
<item>
<title>(PHP) Relative Time - Includes Future - jstnjns</title>
<link>http://snipplr.com/view/12177/relative-time--includes-future/</link>
<description><![CDATA[ <p>Original script by jaytee.  I used the script in a project, but then needed 'future' support.  Added the script, thought I would share.</p> ]]></description>
<pubDate>Fri, 13 Feb 2009 10:54:10 GMT</pubDate>
<guid>http://snipplr.com/view/12177/relative-time--includes-future/</guid>
</item>
<item>
<title>(PHP) Convert Minutes to Human Readable Days / Hours / Minutes - optimal</title>
<link>http://snipplr.com/view/11479/convert-minutes-to-human-readable-days--hours--minutes/</link>
<description><![CDATA[ <p>So. You have some minutes and want a "human readable" version? Sure thing baby!</p> ]]></description>
<pubDate>Sat, 24 Jan 2009 02:55:10 GMT</pubDate>
<guid>http://snipplr.com/view/11479/convert-minutes-to-human-readable-days--hours--minutes/</guid>
</item>
<item>
<title>(PHP) Wordpress, if in the last X days - davebowker</title>
<link>http://snipplr.com/view/11439/wordpress-if-in-the-last-x-days/</link>
<description><![CDATA[ <p>To be placed inside a loop or a query</p> ]]></description>
<pubDate>Thu, 22 Jan 2009 07:56:47 GMT</pubDate>
<guid>http://snipplr.com/view/11439/wordpress-if-in-the-last-x-days/</guid>
</item>
<item>
<title>(PHP) Get days in month - Leech</title>
<link>http://snipplr.com/view/8969/get-days-in-month/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 12 Oct 2008 21:09:07 GMT</pubDate>
<guid>http://snipplr.com/view/8969/get-days-in-month/</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) 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) Month, Day Date Dropdown - jakepaint</title>
<link>http://snipplr.com/view/3440/month-day-date-dropdown/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 02 Aug 2007 15:46:53 GMT</pubDate>
<guid>http://snipplr.com/view/3440/month-day-date-dropdown/</guid>
</item>
<item>
<title>(PHP) Countup from a Date - SunnyJim</title>
<link>http://snipplr.com/view/1524/countup-from-a-date/</link>
<description><![CDATA[ <p>I've been using a Javascript to do the same thing for years but have always wanted to do the same thing in PHP -- just never got around to writing it. Fortunately, ScriptyGoddess did it for me. Haven't actually implemented it but it looks like it should work.</p> ]]></description>
<pubDate>Wed, 01 Nov 2006 22:36:23 GMT</pubDate>
<guid>http://snipplr.com/view/1524/countup-from-a-date/</guid>
</item>
<item>
<title>(PHP) PHP month days options - gdonald</title>
<link>http://snipplr.com/view/1230/php-month-days-options/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 27 Sep 2006 11:36:00 GMT</pubDate>
<guid>http://snipplr.com/view/1230/php-month-days-options/</guid>
</item>
<item>
<title>(PHP) php days ago date - gdonald</title>
<link>http://snipplr.com/view/1202/php-days-ago-date/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 27 Sep 2006 08:44:22 GMT</pubDate>
<guid>http://snipplr.com/view/1202/php-days-ago-date/</guid>
</item>
</channel>
</rss>