<?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/time</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 06 Jul 2008 21:21:42 GMT</pubDate>
<item>
<title>(PHP) PHP: getMicroTime - mattkenefick</title>
<link>http://snipplr.com/view/6354/php-getmicrotime/</link>
<description><![CDATA[ <p>Get Micro Time</p> ]]></description>
<pubDate>Tue, 20 May 2008 13:11:23 GMT</pubDate>
<guid>http://snipplr.com/view/6354/php-getmicrotime/</guid>
</item>
<item>
<title>(ActionScript) Date: Military Time To Regular Time - mattkenefick</title>
<link>http://snipplr.com/view/6301/date-military-time-to-regular-time/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 19 May 2008 11:48:37 GMT</pubDate>
<guid>http://snipplr.com/view/6301/date-military-time-to-regular-time/</guid>
</item>
<item>
<title>(Bash) List commands in history, sorted by usage - noah</title>
<link>http://snipplr.com/view/6135/list-commands-in-history-sorted-by-usage/</link>
<description><![CDATA[ <p>Thanks Ben!

Here's an example session:

May12 10:39:18 book> ~/Documents/n_s/tools/command-history.sh
162 quite
110 svn
107 ruby
61 curl
39 rwget
34 grep
33 cd
21 lwp-request
19 fg
17 ls</p> ]]></description>
<pubDate>Tue, 06 May 2008 15:24:05 GMT</pubDate>
<guid>http://snipplr.com/view/6135/list-commands-in-history-sorted-by-usage/</guid>
</item>
<item>
<title>(PHP) Calculating script execution time - ibomb</title>
<link>http://snipplr.com/view/6043/calculating-script-execution-time/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 29 Apr 2008 08:47:31 GMT</pubDate>
<guid>http://snipplr.com/view/6043/calculating-script-execution-time/</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>(Other) Simple Days Since - TimFletcher</title>
<link>http://snipplr.com/view/5720/simple-days-since/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 06 Apr 2008 17:14:03 GMT</pubDate>
<guid>http://snipplr.com/view/5720/simple-days-since/</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>(Python) Python: elapsed_time (human readable time span given total seconds) - wbowers</title>
<link>http://snipplr.com/view/5713/python-elapsedtime-human-readable-time-span-given-total-seconds/</link>
<description><![CDATA[ <p>This function takes an amount of time in seconds and returns a human readable time span (i.e.,  4h 5m 23s). The suffixes (d for day, h for hour) are configurable to whatever you want (like day, hour, week, etc). Read the comments within the code for more detail.</p> ]]></description>
<pubDate>Sat, 05 Apr 2008 17:35:31 GMT</pubDate>
<guid>http://snipplr.com/view/5713/python-elapsedtime-human-readable-time-span-given-total-seconds/</guid>
</item>
<item>
<title>(JavaScript) Elapsed time string from time in seconds - wbowers</title>
<link>http://snipplr.com/view/5327/elapsed-time-string-from-time-in-seconds/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 09 Mar 2008 00:51:15 GMT</pubDate>
<guid>http://snipplr.com/view/5327/elapsed-time-string-from-time-in-seconds/</guid>
</item>
<item>
<title>(ActionScript) Simple Time Delay - webStruck_</title>
<link>http://snipplr.com/view/5308/simple-time-delay/</link>
<description><![CDATA[ <p>I was looking for a simple time delay in ActionScript, and I found this one to be useful (and working). The logic is plain simple to understand.

ASv1.</p> ]]></description>
<pubDate>Thu, 06 Mar 2008 22:29:38 GMT</pubDate>
<guid>http://snipplr.com/view/5308/simple-time-delay/</guid>
</item>
<item>
<title>(PHP) simple 24 hour time (MySQL or military) to 12 hour time conversion - jimmayes</title>
<link>http://snipplr.com/view/5205/simple-24-hour-time-mysql-or-military-to-12-hour-time-conversion/</link>
<description><![CDATA[ <p>simple and clean... convert 24 hour format to 12 hour format with PHP native functions.

BTW, works in the other direction too (12 hour to 24 hour)... that's the second line below</p> ]]></description>
<pubDate>Tue, 26 Feb 2008 12:54:32 GMT</pubDate>
<guid>http://snipplr.com/view/5205/simple-24-hour-time-mysql-or-military-to-12-hour-time-conversion/</guid>
</item>
<item>
<title>(Java) Time comparation in Java - multani</title>
<link>http://snipplr.com/view/5161/time-comparation-in-java/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 23 Feb 2008 06:55:19 GMT</pubDate>
<guid>http://snipplr.com/view/5161/time-comparation-in-java/</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) 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>(JavaScript) human readable millisecond timestamp - clapfouine</title>
<link>http://snipplr.com/view/4771/human-readable-millisecond-timestamp/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 24 Jan 2008 15:54:38 GMT</pubDate>
<guid>http://snipplr.com/view/4771/human-readable-millisecond-timestamp/</guid>
</item>
<item>
<title>(ActionScript) SQL Date/Time Format - n00ge</title>
<link>http://snipplr.com/view/4709/sql-datetime-format/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 21 Jan 2008 16:23:17 GMT</pubDate>
<guid>http://snipplr.com/view/4709/sql-datetime-format/</guid>
</item>
<item>
<title>(PHP) Date &amp;amp; Time Basics - coggla</title>
<link>http://snipplr.com/view/4689/date--time-basics/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 20 Jan 2008 22:08:41 GMT</pubDate>
<guid>http://snipplr.com/view/4689/date--time-basics/</guid>
</item>
<item>
<title>(PHP) Convert seconds to hh:mm:ss - coggla</title>
<link>http://snipplr.com/view/4688/convert-seconds-to-hhmmss/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 20 Jan 2008 22:04:14 GMT</pubDate>
<guid>http://snipplr.com/view/4688/convert-seconds-to-hhmmss/</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>
<item>
<title>(C#) Get Java Script Time - zvasanth</title>
<link>http://snipplr.com/view/4428/get-java-script-time/</link>
<description><![CDATA[ <p>drunkenprogrammer</p> ]]></description>
<pubDate>Sat, 29 Dec 2007 01:57:41 GMT</pubDate>
<guid>http://snipplr.com/view/4428/get-java-script-time/</guid>
</item>
</channel>
</rss>