<?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: Calculate a time taken to complete a Task</title><link>https://www.infopathdev.com:443/forums/thread/83986.aspx</link><pubDate>Mon, 29 Oct 2012 15:08:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83986</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83986.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83986</wfw:commentRss><description>&lt;p&gt;What version of InfoPath are you using? If you are using IP 2007 or greater, use managed code instead of jscript.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.bizsupportonline.net/browserforms/calculate-date-difference-infopath-browser-form-c-sharp-code.htm"&gt;This&lt;/a&gt; blog post may help you.&lt;/p&gt;</description></item><item><title>Re: Calculate a time taken to complete a Task</title><link>https://www.infopathdev.com:443/forums/thread/83965.aspx</link><pubDate>Sat, 27 Oct 2012 08:24:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83965</guid><dc:creator>Tank86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83965.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83965</wfw:commentRss><description>&lt;p&gt;Hi, thanks for the response getting 3rd party software installed on our servers is not easy and therefore think code would be easier if i could.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks&lt;/p&gt;
&lt;p&gt;K&lt;/p&gt;</description></item><item><title>Re: Calculate a time taken to complete a Task</title><link>https://www.infopathdev.com:443/forums/thread/83937.aspx</link><pubDate>Fri, 26 Oct 2012 18:12:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83937</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83937.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83937</wfw:commentRss><description>&lt;p&gt;qRules has a DateDiff command which you can use to easily determine the difference between two date fields: &lt;a href="http://www.qdabra.com/en/products/qRules_new.aspx"&gt;http://www.qdabra.com/en/products/qRules_new.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Otherwise, you&amp;#39;re likely looking at some custom code to implement this.&lt;/p&gt;</description></item><item><title>Calculate a time taken to complete a Task</title><link>https://www.infopathdev.com:443/forums/thread/83925.aspx</link><pubDate>Fri, 26 Oct 2012 14:40:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83925</guid><dc:creator>Tank86</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83925.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83925</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a form where it contains a start date and time, and an end date and time.&amp;nbsp; I am trying to work out how long the task was open for based on working days and times...&amp;nbsp; Monday to Friday&amp;nbsp;09:00 to 17:30.&lt;/p&gt;
&lt;p&gt;Does anyone know how i could calculate this using jscript code, or any other way?&lt;/p&gt;
&lt;p&gt;Manny&amp;nbsp;Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;K&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>