<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Convert seconds to hh:mm:ss</title><link>https://community.appian.com/discussions/f/general/21941/convert-seconds-to-hh-mm-ss</link><description>I need to convert seconds to hh:mm:ss. For example, 5565 seconds would be displayed as 01:32:45. Does anyone have a good way to do this?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Convert seconds to hh:mm:ss</title><link>https://community.appian.com/thread/86482?ContentTypeID=1</link><pubDate>Thu, 30 Sep 2021 17:01:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9ca4e2ef-f2cd-47cd-87f3-84e9247ddbe9</guid><dc:creator>hrishikeshd997</dc:creator><description>&lt;p&gt;Conveniently you can also use Appian&amp;#39;s&amp;nbsp; intervalds() function that c&lt;span&gt;onverts the given time components into an equivalent time duration. Since you only have seconds, you can specify 0&amp;#39;s for hour and minute values. e.g.&amp;nbsp;intervalds(0,0,5565) will result 0::01:32:45.000. You can then apply specific formatting as needed. Code snippet be like -&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;split(split(tostring(intervalds(0,0,5565)), &amp;quot;::&amp;quot;)[2],&amp;quot;.&amp;quot;)[1]&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Convert seconds to hh:mm:ss</title><link>https://community.appian.com/thread/85940?ContentTypeID=1</link><pubDate>Mon, 20 Sep 2021 22:14:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0fcb4799-140c-402a-9124-54137f0f6196</guid><dc:creator>vimalkumars</dc:creator><description>&lt;p&gt;Hope this helps&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!hoursInDecimal: split(5565 / 3600, &amp;quot;.&amp;quot;),
  local!minutes:split((todecimal(&amp;quot;.&amp;quot; &amp;amp; local!hoursInDecimal[2])*60),&amp;quot;.&amp;quot;),
  joinarray({text(local!hoursInDecimal[1],&amp;quot;00&amp;quot;), text(local!minutes[1], &amp;quot;00&amp;quot;), text(round((&amp;quot;.&amp;quot; &amp;amp; local!minutes[2])*60), &amp;quot;00&amp;quot;)}, &amp;quot;:&amp;quot;)
  /*time(local!hoursInDecimal[1], local!minutes[1] , round((&amp;quot;.&amp;quot; &amp;amp; local!minutes[2])*60))*/
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>