<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'ActionScript Seconds to Standard Time Format'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Mon, 20 Apr 2026 00:40:30 +0000</lastBuildDate>
    <item>
      <title>withinmedianl said on 20/Nov/2010</title>
      <link>https://snipplr.com/view/33913/actionscript-seconds-to-standard-time-format</link>
      <description>&lt;p&gt;Like this it gives you more control:&#13;
&#13;
private function convertTime(secs:Number, format:String = ""):String&#13;
		{&#13;
			var toReturn:String;&#13;
			&#13;
			var h:Number=Math.floor(secs/3600);&#13;
			var m:Number=Math.floor((secs%3600)/60);&#13;
			var s:Number=Math.floor((secs%3600)%60);&#13;
			if (format)&#13;
			{&#13;
				if(format == "h")&#13;
				{&#13;
					toReturn = (h==0?"":(h&lt;/p&gt;</description>
      <pubDate>Sat, 20 Nov 2010 00:42:27 UTC</pubDate>
      <guid>https://snipplr.com/view/33913/actionscript-seconds-to-standard-time-format</guid>
    </item>
    <item>
      <title>withinmedianl said on 20/Nov/2010</title>
      <link>https://snipplr.com/view/33913/actionscript-seconds-to-standard-time-format</link>
      <description>&lt;p&gt;Woops, that didn't work.&#13;
i posted it here: http://www.snipplr.com/view/44445/convert-number-time-to-more-readable-time/&#13;
copy and update your version, then notify me and i will delete mine&lt;/p&gt;</description>
      <pubDate>Sat, 20 Nov 2010 00:46:22 UTC</pubDate>
      <guid>https://snipplr.com/view/33913/actionscript-seconds-to-standard-time-format</guid>
    </item>
  </channel>
</rss>
