<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: convert decimal to time</title><link>https://www.infopathdev.com:443/forums/thread/106211.aspx</link><pubDate>Mon, 18 Apr 2016 12:39:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106211</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106211.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=106211</wfw:commentRss><description>&lt;p&gt;Hi Rande,&lt;/p&gt;&lt;p&gt;You need something like this; (substring-before(substring-after(field, &amp;quot;T&amp;quot;), &amp;quot;:&amp;quot;) * 60) + (substring-before(substring-after(field, &amp;quot;:&amp;quot;), &amp;quot;:&amp;quot;))&lt;/p&gt;&lt;p&gt;Note: this assumes date and time. If it&amp;#39;s&amp;nbsp;just try this:&amp;nbsp;substring-before(field, &amp;quot;:&amp;quot;) * 60) + (substring-before(substring-after(field, &amp;quot;:&amp;quot;), &amp;quot;:&amp;quot;))&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;:)&lt;/p&gt;</description></item><item><title>convert decimal to time</title><link>https://www.infopathdev.com:443/forums/thread/106090.aspx</link><pubDate>Sun, 10 Apr 2016 20:24:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106090</guid><dc:creator>rande</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106090.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=106090</wfw:commentRss><description>&lt;p&gt;Dear Friends, I&amp;#39;m using Infopath 2013 and I need convert a decimal 
number in hour and minutes... for exemple convert 30 in 00:30 convert 75
 in 01:15 i tried use this formula concat(substring-before(&lt;b&gt;&lt;u&gt;field&lt;/u&gt;&lt;/b&gt;, &amp;quot;:&amp;quot;), &amp;quot;.&amp;quot;, 100 * substring-after(&lt;u&gt;&lt;b&gt;field&lt;/b&gt;&lt;/u&gt;, &amp;quot;:&amp;quot;) div 60) but its dosent work :(&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;thanks to help me</description></item></channel></rss>