<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Converting time data</title><link>https://www.infopathdev.com:443/forums/thread/74907.aspx</link><pubDate>Thu, 02 Feb 2012 21:55:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74907</guid><dc:creator>Drewski</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74907.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74907</wfw:commentRss><description>&lt;p&gt;Thanks Jimmy that did the trick&lt;/p&gt;</description></item><item><title>Re: Converting time data</title><link>https://www.infopathdev.com:443/forums/thread/74761.aspx</link><pubDate>Tue, 31 Jan 2012 19:16:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74761</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74761.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74761</wfw:commentRss><description>&lt;p&gt;Most of these functions are available in InfoPath, just in slightly different manifestations:&lt;/p&gt;
&lt;p&gt;CONCATENATE(a, b, c) -&amp;gt; concat(a, b, c)&lt;/p&gt;
&lt;p&gt;INT(a) -&amp;gt; floor(a)&lt;/p&gt;
&lt;p&gt;MOD(a, b) -&amp;gt; a mod b&lt;/p&gt;
&lt;p&gt;Zero padding is a bit trickier, but this should work for zero-padding a number to 2 digits:&lt;/p&gt;
&lt;p&gt;substring(a + 100, 2, 2)&lt;/p&gt;</description></item><item><title>Converting time data</title><link>https://www.infopathdev.com:443/forums/thread/74754.aspx</link><pubDate>Tue, 31 Jan 2012 17:14:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74754</guid><dc:creator>Drewski</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74754.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74754</wfw:commentRss><description>I ran into an issue today trying to convert and average time data in a repeating table. In SharePoint I have some fields that are tracking time metrics on how long a workflow takes so when you subtract two date fields with time enabled you get an answer like 1.003020833. Within SharePoint I was able to convert this time into a more readable time using this equation:

=CONCATENATE(TEXT(INT([Field]),&amp;quot;00&amp;quot;),&amp;quot;.&amp;quot;,TEXT(INT(MOD([Field],1)*24),&amp;quot;00&amp;quot;),&amp;quot;:&amp;quot;,TEXT(MOD(MOD([Field],1)*1440,60),&amp;quot;00&amp;quot;))

So an answer like 1.003020833 would be converted to 01.00:04 telling me that the workflow took 1 day and 4 minutes to complete.

Within InfoPath most of these functions are not available so I was not able to use this same equation. I want to average all of the entries within the SharePoint library and convert the answer to something like what I have displayed above.

Thanks in advance!</description></item></channel></rss>