<?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/format</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 15 Feb 2012 13:19:17 GMT</pubDate>
<item>
<title>(PHP) checkdate - Dapsy</title>
<link>http://snipplr.com/view/63110/checkdate/</link>
<description><![CDATA[ <p>Function which can be used as wrapper for default PHP checkdate function. Will automatically parse given date (string or integer format).</p> ]]></description>
<pubDate>Tue, 07 Feb 2012 00:31:42 GMT</pubDate>
<guid>http://snipplr.com/view/63110/checkdate/</guid>
</item>
<item>
<title>(PHP) php Date Format Examples - ryarwood</title>
<link>http://snipplr.com/view/62880/php-date-format-examples/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 30 Jan 2012 08:47:36 GMT</pubDate>
<guid>http://snipplr.com/view/62880/php-date-format-examples/</guid>
</item>
<item>
<title>(PHP) PHP link href formatter - focal55</title>
<link>http://snipplr.com/view/59945/php-link-href-formatter/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 19 Oct 2011 14:29:39 GMT</pubDate>
<guid>http://snipplr.com/view/59945/php-link-href-formatter/</guid>
</item>
<item>
<title>(PHP) Get WordPress theme menu name in slug format from location parameter - Huskie</title>
<link>http://snipplr.com/view/58556/get-wordpress-theme-menu-name-in-slug-format-from-location-parameter/</link>
<description><![CDATA[ <p>Example call: $menuName = sleek_get_theme_menu_name('footer-menu')</p> ]]></description>
<pubDate>Fri, 09 Sep 2011 20:03:44 GMT</pubDate>
<guid>http://snipplr.com/view/58556/get-wordpress-theme-menu-name-in-slug-format-from-location-parameter/</guid>
</item>
<item>
<title>(PHP) PHP function for Digits Grouping in indian format - arjunparsi</title>
<link>http://snipplr.com/view/58407/php-function-for-digits-grouping-in-indian-format/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 02 Sep 2011 22:35:52 GMT</pubDate>
<guid>http://snipplr.com/view/58407/php-function-for-digits-grouping-in-indian-format/</guid>
</item>
<item>
<title>(PHP) Date Format Convert - nebojsac</title>
<link>http://snipplr.com/view/57792/date-format-convert/</link>
<description><![CDATA[ <p>Switches 'dd mm yyyy' to 'yyyy-mm-dd'</p> ]]></description>
<pubDate>Fri, 12 Aug 2011 22:18:49 GMT</pubDate>
<guid>http://snipplr.com/view/57792/date-format-convert/</guid>
</item>
<item>
<title>(PHP) Underscore strings - julioantuneztarin</title>
<link>http://snipplr.com/view/55382/underscore-strings/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 17 Jun 2011 11:21:55 GMT</pubDate>
<guid>http://snipplr.com/view/55382/underscore-strings/</guid>
</item>
<item>
<title>(PHP) Change Date from dd/mm/yyyy to yyyy-dd-mm - dubogii</title>
<link>http://snipplr.com/view/53674/change-date-from-ddmmyyyy-to-yyyyddmm/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 17 May 2011 19:54:00 GMT</pubDate>
<guid>http://snipplr.com/view/53674/change-date-from-ddmmyyyy-to-yyyyddmm/</guid>
</item>
<item>
<title>(PHP) Convert YYYY-DD-MM dates to M d, Y format - jatkins</title>
<link>http://snipplr.com/view/50891/convert-yyyyddmm-dates-to-m-d-y-format/</link>
<description><![CDATA[ <p>Released into the public domain. **Example:** `echo convert_dates('On 1969-07-20, the first Moon landing occurred. The crew returned to Earth on 1969-07-24. The last landing occurred on 1972-12-11.');` prints "On July 20, 1969, the first Moon landing occurred. The crew returned to Earth on July 24, 1969. The last landing occurred on December 11, 1972."</p> ]]></description>
<pubDate>Mon, 21 Mar 2011 00:15:45 GMT</pubDate>
<guid>http://snipplr.com/view/50891/convert-yyyyddmm-dates-to-m-d-y-format/</guid>
</item>
<item>
<title>(PHP) strotime for french date - ptiswitz</title>
<link>http://snipplr.com/view/49662/strotime-for-french-date/</link>
<description><![CDATA[ <p>The date format is dd/mm/YYYY but you can replace slashes by anything else.</p> ]]></description>
<pubDate>Fri, 25 Feb 2011 21:31:09 GMT</pubDate>
<guid>http://snipplr.com/view/49662/strotime-for-french-date/</guid>
</item>
<item>
<title>(PHP) C# String Format Function For PHP - tudisco</title>
<link>http://snipplr.com/view/48481/c-string-format-function-for-php/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 06 Feb 2011 09:57:38 GMT</pubDate>
<guid>http://snipplr.com/view/48481/c-string-format-function-for-php/</guid>
</item>
<item>
<title>(PHP) Convert new lines to paragraphs - jmiller</title>
<link>http://snipplr.com/view/42966/convert-new-lines-to-paragraphs/</link>
<description><![CDATA[ <p>Turns /n to  and /n/n to 

Usage:
echo stripslashes(nl2br(nls2p($text)));</p> ]]></description>
<pubDate>Tue, 26 Oct 2010 15:20:29 GMT</pubDate>
<guid>http://snipplr.com/view/42966/convert-new-lines-to-paragraphs/</guid>
</item>
<item>
<title>(PHP) Format Radio List in a Form Class - sorinspanu</title>
<link>http://snipplr.com/view/42584/format-radio-list-in-a-form-class/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 20 Oct 2010 06:13:42 GMT</pubDate>
<guid>http://snipplr.com/view/42584/format-radio-list-in-a-form-class/</guid>
</item>
<item>
<title>(PHP) Short + Long Address Formatting From Address Information - iloveitaly</title>
<link>http://snipplr.com/view/37619/short--long-address-formatting-from-address-information/</link>
<description><![CDATA[ <p>Assumes that the record has a `name` field which represents the name of the location and always has a defined two character `country` field.</p> ]]></description>
<pubDate>Tue, 20 Jul 2010 00:38:17 GMT</pubDate>
<guid>http://snipplr.com/view/37619/short--long-address-formatting-from-address-information/</guid>
</item>
<item>
<title>(PHP) two digits format - ricosushi</title>
<link>http://snipplr.com/view/37277/two-digits-format/</link>
<description><![CDATA[ <p>Returns 01 from a 1 paramenter value.</p> ]]></description>
<pubDate>Wed, 14 Jul 2010 08:30:33 GMT</pubDate>
<guid>http://snipplr.com/view/37277/two-digits-format/</guid>
</item>
<item>
<title>(PHP) Date format to latin american format - ricosushi</title>
<link>http://snipplr.com/view/37276/date-format-to-latin-american-format/</link>
<description><![CDATA[ <p>Returns the date format to a latin american format

AAAA-MM-DD   ->   DD/MM/AAAA</p> ]]></description>
<pubDate>Wed, 14 Jul 2010 08:29:05 GMT</pubDate>
<guid>http://snipplr.com/view/37276/date-format-to-latin-american-format/</guid>
</item>
<item>
<title>(PHP) Timer format - nkm</title>
<link>http://snipplr.com/view/33363/timer-format/</link>
<description><![CDATA[ <p>Formats a time in Numeric format into Timer format (HH:MM:SS).
- Rounds values after conversion
- Displays negative values (-HH:MM:SS)
- Only displays the hours if necessary
- Fails gracefully</p> ]]></description>
<pubDate>Tue, 27 Apr 2010 10:40:57 GMT</pubDate>
<guid>http://snipplr.com/view/33363/timer-format/</guid>
</item>
<item>
<title>(PHP) Apache log line parser - mpontus</title>
<link>http://snipplr.com/view/25161/apache-log-line-parser/</link>
<description><![CDATA[ <p>I written this code to parse apache log in common log formats.  It may have problems with irresponsible formatting like non-concluded into quotes request line. I welcome any modifications to my snippet because it was written if short time and this is my first snippet I publish here. Thanks.</p> ]]></description>
<pubDate>Mon, 21 Dec 2009 06:53:13 GMT</pubDate>
<guid>http://snipplr.com/view/25161/apache-log-line-parser/</guid>
</item>
<item>
<title>(PHP) Date format for mysql input - daveismyname</title>
<link>http://snipplr.com/view/20333/date-format-for-mysql-input/</link>
<description><![CDATA[ <p>This snippet collects a date from a var and formats it into the correct format for database date entry</p> ]]></description>
<pubDate>Mon, 28 Sep 2009 04:19:06 GMT</pubDate>
<guid>http://snipplr.com/view/20333/date-format-for-mysql-input/</guid>
</item>
<item>
<title>(PHP) formatWebAddress - jlvallelonga</title>
<link>http://snipplr.com/view/17747/formatwebaddress/</link>
<description><![CDATA[ <p>this function formats a web address for use in a link.
echo formatWebAddress("google.com");
http://www.google.com/</p> ]]></description>
<pubDate>Sat, 01 Aug 2009 01:52:19 GMT</pubDate>
<guid>http://snipplr.com/view/17747/formatwebaddress/</guid>
</item>
</channel>
</rss>
