<?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: How to calculate business days with holiday.</title><link>https://www.infopathdev.com:443/forums/thread/47140.aspx</link><pubDate>Fri, 18 Sep 2009 17:07:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47140</guid><dc:creator>Alec Pojidaev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47140.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=47140</wfw:commentRss><description>&lt;p&gt;Rules only solution:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/"&gt;http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: How to calculate business days with holiday.</title><link>https://www.infopathdev.com:443/forums/thread/46916.aspx</link><pubDate>Sun, 13 Sep 2009 14:13:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46916</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46916.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46916</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://stackoverflow.com/questions/585406/c-code-efficency"&gt;Here&lt;/a&gt; is a suggestion&amp;nbsp;from StackOverflow for C#. Basically, you&amp;#39;ll need to be keeping track of your holidays someplace (like a SQL table, or, I suppose, an XML file that you are using a secondary data source) and then check to see if any of your holidays are in the data range specified by your leave. Keep count of how many are, and then add that back in to your calculated business date diff.&lt;/p&gt;</description></item><item><title>How to calculate business days with holiday.</title><link>https://www.infopathdev.com:443/forums/thread/46820.aspx</link><pubDate>Thu, 10 Sep 2009 03:45:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46820</guid><dc:creator>alfred_62</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46820.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=46820</wfw:commentRss><description>&lt;p&gt;Hi guys,&lt;/p&gt;&lt;p&gt;I saw this thread on how to calculate business days.&lt;/p&gt;&lt;p&gt;May I know how do I calculate business days excluding holidays.&lt;/p&gt;&lt;p&gt;http://www.infopathdev.com/forums/t/7156.aspx &lt;/p&gt;&lt;p&gt;Does anyone have any codes that calculate business days with holidays in infopath 2007?&lt;/p&gt;&lt;p&gt;Is there anway to input the date of holidays and the code will calulate the no. of business days between two dates?&lt;/p&gt;&lt;p&gt;I am doing a form for leave application. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>