<?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: Date calculation based on a dropdown</title><link>https://www.infopathdev.com:443/forums/thread/96501.aspx</link><pubDate>Tue, 18 Mar 2014 04:10:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96501</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96501.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=96501</wfw:commentRss><description>&lt;p&gt;Hi Veera8,&lt;/p&gt;&lt;p&gt;Please check this &lt;a href="http://www.infopathdev.com/forums/p/13202/47140.aspx"&gt;thread&lt;/a&gt; for tips on how to exclude certain dates such as holidays when calculating dates. Another alternative you may attempt to use is &lt;a href="http://www.qdabra.com/en/products/qRules_new.aspx"&gt;qRules&amp;#39;&lt;/a&gt; DateDiff command which allows you to include a repeating field or field in a repeating group with holidays that should be excluded in the date math. I hope I&amp;#39;m able to point you toward the right direction.&lt;/p&gt;</description></item><item><title>Date calculation based on a dropdown</title><link>https://www.infopathdev.com:443/forums/thread/96468.aspx</link><pubDate>Sat, 15 Mar 2014 20:06:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96468</guid><dc:creator>veera8</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96468.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=96468</wfw:commentRss><description>Hi,
        I was able to calculate difference between 2 dates(startdate,enddate) and displaying in textbox(Days) following this link.

        

 http://www.bizsupportonline.net/infopath2007/calculate-date-difference-infopath-rules-formulas.htm

 But, now i need to calculate the difference based on a drop down(Status). If the dropdown choice is Yes, date difference will be calculated, else display &amp;quot;Completed&amp;quot; in the &amp;quot;Days&amp;quot; textbox. How do i do this.. Kindly help..</description></item></channel></rss>