<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Yet another DateTime difference question</title><link>https://www.infopathdev.com:443/forums/thread/94530.aspx</link><pubDate>Tue, 26 Nov 2013 14:43:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94530</guid><dc:creator>leoffneym</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94530.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94530</wfw:commentRss><description>&lt;p&gt;I have attached a sample form for you.&lt;/p&gt;&lt;p&gt;It calculates Days/Hours/Minutes.&lt;/p&gt;&lt;p&gt;You should be able to pull what you need from it.&amp;nbsp; All of the fields are calcuated with formulas except for the Start Date and End Date.&lt;br /&gt;I left everything used to calculate the time shown.&amp;nbsp; You can preview the form and see how it works.&lt;/p&gt;</description></item><item><title>Re: Yet another DateTime difference question</title><link>https://www.infopathdev.com:443/forums/thread/94497.aspx</link><pubDate>Mon, 25 Nov 2013 14:36:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94497</guid><dc:creator>missieyohko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94497.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94497</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Anybody else have some suggestions?&lt;/p&gt;</description></item><item><title>Re: Yet another DateTime difference question</title><link>https://www.infopathdev.com:443/forums/thread/94229.aspx</link><pubDate>Mon, 11 Nov 2013 16:03:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94229</guid><dc:creator>missieyohko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94229.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94229</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I... really don&amp;#39;t understand.&amp;nbsp; If I was using SharePoint I could calculate it with calculated field value, but I&amp;#39;m asking how to do it in InfoPath.&amp;nbsp; I don&amp;#39;t see how I can use an Excel formula in InfoPath.&lt;/p&gt;</description></item><item><title>Re: Yet another DateTime difference question</title><link>https://www.infopathdev.com:443/forums/thread/94226.aspx</link><pubDate>Mon, 11 Nov 2013 09:41:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94226</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94226.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94226</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Just checked and the above formula does work in my test environment. as a calculated column :) &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Yet another DateTime difference question</title><link>https://www.infopathdev.com:443/forums/thread/94223.aspx</link><pubDate>Sun, 10 Nov 2013 20:58:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94223</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94223.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94223</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve not got IP or SP to hand. Yet in excel you can work out what you want as follows using the following formula which you could try to see if it would work in a calculated column.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;B2 is your End Date and Time, A2 is your start Date and Time. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;=INT(B2-A2)&amp;amp;&amp;quot; days &amp;quot;&amp;amp;TEXT(B2-A2,&amp;quot;h&amp;quot;&amp;quot; hrs &amp;quot;&amp;quot;m&amp;quot;&amp;quot; mins &amp;quot;&amp;quot;s&amp;quot;&amp;quot;secs&amp;quot;&amp;quot;&amp;quot;)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;It assume that your original time in &amp;quot;A/B 2s&amp;quot; are in the following format: dd/mm/yyyy hh:mm:ss&lt;/p&gt;&lt;p&gt;If not crack open Excel and work with the formula and others. If you can do it in excel you can normally find a similar way to do it in InfoPath if used with SharePoint.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Yet another DateTime difference question</title><link>https://www.infopathdev.com:443/forums/thread/94169.aspx</link><pubDate>Thu, 07 Nov 2013 16:36:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94169</guid><dc:creator>missieyohko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94169.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=94169</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve been tasked with calculating the difference between two DateTime fields and I&amp;#39;m surprised how complicated it is.&amp;nbsp; I have found many great codeless solutions but not quite what I need... Either days or hours, but I need to know the difference in days, hours and minutes.&lt;/p&gt;&lt;p&gt;StartTime&lt;br /&gt;EndTime&lt;br /&gt;Duration&lt;/p&gt;&lt;p&gt;I don&amp;#39;t care what format the duration is in... Preferably a format that makes sense... Like &amp;quot;# Days, # Hours, # Minutes&amp;quot;&lt;/p&gt;</description></item></channel></rss>