<?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/tags/convert</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 23 May 2013 01:09:01 GMT</pubDate>
<item>
<title>(C#) Convert Excel file (XLS) to CSV - engebaja</title>
<link>http://snipplr.com/view/71092/convert-excel-file-xls-to-csv/</link>
<description><![CDATA[ <p>Convert Excel file (XLS) to CSV</p> ]]></description>
<pubDate>Wed, 08 May 2013 16:54:17 GMT</pubDate>
<guid>http://snipplr.com/view/71092/convert-excel-file-xls-to-csv/</guid>
</item>
<item>
<title>(PHP) Convert Seconds into Time String in PHP - apphp-snippets</title>
<link>http://snipplr.com/view/70021/convert-seconds-into-time-string-in-php/</link>
<description><![CDATA[ <p>This function returns the duration of the given time period in days, hours, minutes and seconds. For example: echo convertSecToStr('654321'); would return "7 days, 13 hours, 45 minutes, 21 seconds"</p> ]]></description>
<pubDate>Wed, 20 Feb 2013 21:27:58 GMT</pubDate>
<guid>http://snipplr.com/view/70021/convert-seconds-into-time-string-in-php/</guid>
</item>
<item>
<title>(C#) US State to Abbreviation Dictionary and Conversion - misholson</title>
<link>http://snipplr.com/view/69920/us-state-to-abbreviation-dictionary-and-conversion/</link>
<description><![CDATA[ <p>Two static dictionaries for converting US state names to abbreviations, and the reverse.</p> ]]></description>
<pubDate>Wed, 13 Feb 2013 07:18:00 GMT</pubDate>
<guid>http://snipplr.com/view/69920/us-state-to-abbreviation-dictionary-and-conversion/</guid>
</item>
<item>
<title>(PHP) [PHP] Convert seconds to time (years, months, days, hours…) - goo</title>
<link>http://snipplr.com/view/69462/php-convert-seconds-to-time-years-months-days-hours/</link>
<description><![CDATA[ <p>This useful function will convert a time in seconds to a time in years, months, weeks, days, and so on.</p> ]]></description>
<pubDate>Mon, 14 Jan 2013 22:20:42 GMT</pubDate>
<guid>http://snipplr.com/view/69462/php-convert-seconds-to-time-years-months-days-hours/</guid>
</item>
<item>
<title>(PHP) Convert RGB to Hex - BILZEEE</title>
<link>http://snipplr.com/view/68652/convert-rgb-to-hex/</link>
<description><![CDATA[ <p>Small php function to convert RGB colors into Hex colors</p> ]]></description>
<pubDate>Tue, 20 Nov 2012 05:38:06 GMT</pubDate>
<guid>http://snipplr.com/view/68652/convert-rgb-to-hex/</guid>
</item>
<item>
<title>(PHP) Byte convertor - MGHollander</title>
<link>http://snipplr.com/view/67675/byte-convertor/</link>
<description><![CDATA[ <p>Handy function for converting bytes to KB, MB, GB, etc.</p> ]]></description>
<pubDate>Wed, 10 Oct 2012 19:30:03 GMT</pubDate>
<guid>http://snipplr.com/view/67675/byte-convertor/</guid>
</item>
<item>
<title>(PHP) PHP Function to Convert 12 Hour Time to 24 Hour Format - kosinix</title>
<link>http://snipplr.com/view/67326/php-function-to-convert-12-hour-time-to-24-hour-format/</link>
<description><![CDATA[ <p>Convert 12-hour time format with hour, minutes, seconds, and meridiem into 24-hour  format. Performs data correction to make sure hours, minutes and seconds have leading zeros if needed.

The trick here is to use strtotime() where we pass the time string in this format: "hh:mm:ss meridiem" 
Example: "02:30:00 pm"</p> ]]></description>
<pubDate>Sun, 23 Sep 2012 10:29:48 GMT</pubDate>
<guid>http://snipplr.com/view/67326/php-function-to-convert-12-hour-time-to-24-hour-format/</guid>
</item>
<item>
<title>(PHP) Timestamp2date - WouterJ</title>
<link>http://snipplr.com/view/65791/timestamp2date/</link>
<description><![CDATA[ <p># Timestamp2array

Convert a timestamp (`20120525`) to a date (`2012-05-25`), you can specify the format in the second parameter.</p> ]]></description>
<pubDate>Mon, 25 Jun 2012 18:42:30 GMT</pubDate>
<guid>http://snipplr.com/view/65791/timestamp2date/</guid>
</item>
<item>
<title>(JavaScript) 10 Digit String to Phone Format - cpres</title>
<link>http://snipplr.com/view/65672/10-digit-string-to-phone-format/</link>
<description><![CDATA[ <p>Formats a 10-digit phone number into a good format (123) 555-1234</p> ]]></description>
<pubDate>Sun, 17 Jun 2012 06:54:16 GMT</pubDate>
<guid>http://snipplr.com/view/65672/10-digit-string-to-phone-format/</guid>
</item>
<item>
<title>(PHP) Parse PHP files into ASP extensions - crypticsoft</title>
<link>http://snipplr.com/view/65195/parse-php-files-into-asp-extensions/</link>
<description><![CDATA[ <p>For those cases where you want to code in PHP but need to deploy to ASP. It doesn't account for php logic but only converts the php include() statements into SSI includes. Could be useful for converting basic websites from php to asp, rare but it happens :)</p> ]]></description>
<pubDate>Sat, 26 May 2012 02:13:00 GMT</pubDate>
<guid>http://snipplr.com/view/65195/parse-php-files-into-asp-extensions/</guid>
</item>
<item>
<title>(Bash) ImageMagick Crop &amp;amp; Resize images - artaserse</title>
<link>http://snipplr.com/view/64005/imagemagick-crop--resize-images/</link>
<description><![CDATA[ <p>simple command that resize and crop, if necessary, an image, centering the image.</p> ]]></description>
<pubDate>Sat, 17 Mar 2012 20:28:03 GMT</pubDate>
<guid>http://snipplr.com/view/64005/imagemagick-crop--resize-images/</guid>
</item>
<item>
<title>(PHP) AlivePDF download and save to server - vamapaull</title>
<link>http://snipplr.com/view/63604/alivepdf-download-and-save-to-server/</link>
<description><![CDATA[ <p>This PHP code is made to help people using the ActionScript 3 AlivePDF library to save PDF files from a Flash app to a server.

ActionScript 3 AlivePDF save code:
_pdf.save(Method.REMOTE, "save.php", Download.ATTACHMENT, "MyFile.pdf");</p> ]]></description>
<pubDate>Mon, 27 Feb 2012 22:34:11 GMT</pubDate>
<guid>http://snipplr.com/view/63604/alivepdf-download-and-save-to-server/</guid>
</item>
<item>
<title>(JavaScript) transfrom submit button to hyperlink - pavlosvos</title>
<link>http://snipplr.com/view/63241/transfrom-submit-button-to-hyperlink/</link>
<description><![CDATA[ <p>Convert a form submit button code to a hyperlink code and hide the form</p> ]]></description>
<pubDate>Fri, 10 Feb 2012 23:20:39 GMT</pubDate>
<guid>http://snipplr.com/view/63241/transfrom-submit-button-to-hyperlink/</guid>
</item>
<item>
<title>(PHP) Convert rgb to hex - macodev</title>
<link>http://snipplr.com/view/62816/convert-rgb-to-hex/</link>
<description><![CDATA[ <p>Convert rgb color detected by jQuery into hex value.</p> ]]></description>
<pubDate>Fri, 27 Jan 2012 22:24:38 GMT</pubDate>
<guid>http://snipplr.com/view/62816/convert-rgb-to-hex/</guid>
</item>
<item>
<title>(PHP) Converting second to readable time - zierocode</title>
<link>http://snipplr.com/view/62418/converting-second-to-readable-time/</link>
<description><![CDATA[ <p>This code is applied from http://www.ultramegatech.com/blog/2009/06/snippet-converting-seconds-to-readable-time/</p> ]]></description>
<pubDate>Mon, 09 Jan 2012 20:51:37 GMT</pubDate>
<guid>http://snipplr.com/view/62418/converting-second-to-readable-time/</guid>
</item>
<item>
<title>(PHP) Convert numbers to words (Bulgarian language) - stz184</title>
<link>http://snipplr.com/view/62021/convert-numbers-to-words-bulgarian-language/</link>
<description><![CDATA[ <p>This function accept one parameter (integer or float) and returns the same number writed with words. Useful for currencies and invoices.</p> ]]></description>
<pubDate>Tue, 20 Dec 2011 21:18:02 GMT</pubDate>
<guid>http://snipplr.com/view/62021/convert-numbers-to-words-bulgarian-language/</guid>
</item>
<item>
<title>(ActionScript 3) Timecode Utility - vamapaull</title>
<link>http://snipplr.com/view/61933/timecode-utility/</link>
<description><![CDATA[ <p>It's very useful if you build a FLV player for example, and want to convert the time into minutes:seconds (example: 6:13)

//apply it to your project like this (and don't forget to import the class):
time.text = TimeUtil.getTimecode(timeValue);</p> ]]></description>
<pubDate>Sat, 17 Dec 2011 00:46:38 GMT</pubDate>
<guid>http://snipplr.com/view/61933/timecode-utility/</guid>
</item>
<item>
<title>(SAS) Convert SAS dataset to Text file - webonomic</title>
<link>http://snipplr.com/view/60841/convert-sas-dataset-to-text-file/</link>
<description><![CDATA[ <p>This SAS macro will convert a dataset to a text file</p> ]]></description>
<pubDate>Tue, 15 Nov 2011 14:20:12 GMT</pubDate>
<guid>http://snipplr.com/view/60841/convert-sas-dataset-to-text-file/</guid>
</item>
<item>
<title>(Bash) Convert Apple .plist file to from XML / binary - stiobhart</title>
<link>http://snipplr.com/view/60213/convert-apple-plist-file-to-from-xml--binary/</link>
<description><![CDATA[ <p>A pair of handy terminal commands for converting Apple .plist preference files from binary to XML format [allowing for easy editing with a text editor] and then back to binary again, afterwards.</p> ]]></description>
<pubDate>Wed, 26 Oct 2011 19:30:16 GMT</pubDate>
<guid>http://snipplr.com/view/60213/convert-apple-plist-file-to-from-xml--binary/</guid>
</item>
<item>
<title>(PHP) Convert Twitter API Datetime to MySQL Datetime Format - aristoworks</title>
<link>http://snipplr.com/view/59869/convert-twitter-api-datetime-to-mysql-datetime-format/</link>
<description><![CDATA[ <p>This is a very rudimentary function used to convert a Datetime delivered by the Twitter API to a format you can store in MySQL's datetime field.</p> ]]></description>
<pubDate>Mon, 17 Oct 2011 00:51:40 GMT</pubDate>
<guid>http://snipplr.com/view/59869/convert-twitter-api-datetime-to-mysql-datetime-format/</guid>
</item>
</channel>
</rss>