<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - misteroneill</title>
<link>http://snipplr.com/users/misteroneill/tags/seconds</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 17 Feb 2012 04:57:01 GMT</pubDate>
<item>
<title>(JavaScript) Time in Seconds to h:mm:ss</title>
<link>http://snipplr.com/view/20348/time-in-seconds-to-hmmss/</link>
<description><![CDATA[ <p>I wrote this for displaying audio/video clip durations.  This function takes a single argument (a number of seconds) and returns a formatted string in the format "hh:mm:ss".  Hours will not show if the total is less than an hour, minutes will always show.  Minutes will show leading zero only if the total is greater than an hour. If less than a minute, will show "0" for minutes.  Examples: 1:15:05 (4505 seconds), 36:01 (2161 seconds), 0:45 (45 seconds)</p> ]]></description>
<pubDate>Mon, 28 Sep 2009 12:01:47 GMT</pubDate>
<guid>http://snipplr.com/view/20348/time-in-seconds-to-hmmss/</guid>
</item>
</channel>
</rss>
