<?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: How does I count workdays between two dates by managed code?</title><link>https://www.infopathdev.com:443/forums/thread/24292.aspx</link><pubDate>Fri, 09 Nov 2007 18:07:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24292</guid><dc:creator>jatuphum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24292.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24292</wfw:commentRss><description>&lt;p&gt;Hi Clay,&lt;/p&gt;
&lt;p&gt;Thank you again. Because&amp;nbsp;while loop from&amp;nbsp;your Idea so now I can solve my problem.&lt;/p&gt;
&lt;p&gt;Cheers.&lt;/p&gt;</description></item><item><title>Re: How does I count workdays between two dates by managed code?</title><link>https://www.infopathdev.com:443/forums/thread/24274.aspx</link><pubDate>Fri, 09 Nov 2007 15:30:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24274</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24274.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24274</wfw:commentRss><description>&lt;p&gt;You would have to use more complex logic and calculate the number of Saturdays and Sundays between your two dates and then subtract that from your total.&amp;nbsp; I believe with DateDiff there is a way to get day of week so you could use this to filter the results which would be counted and step through (while loop) each following date and if it was not a weekend add to your sum value.&lt;/p&gt;</description></item><item><title>Re: How does I count workdays between two dates by managed code?</title><link>https://www.infopathdev.com:443/forums/thread/24269.aspx</link><pubDate>Fri, 09 Nov 2007 07:17:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24269</guid><dc:creator>jatuphum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24269.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24269</wfw:commentRss><description>&lt;p&gt;Hi Clay,&lt;/p&gt;
&lt;p&gt;Thank you for your reply. But I explain to you about my&amp;nbsp;problem.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t want include of &amp;#39;Saturday&amp;#39; and &amp;#39;Sunday&amp;#39; of week.&lt;/p&gt;
&lt;p&gt;May be I use loop for solve this problem?&lt;/p&gt;
&lt;p&gt;Cheers.&lt;/p&gt;</description></item><item><title>Re: How does I count workdays between two dates by managed code?</title><link>https://www.infopathdev.com:443/forums/thread/24229.aspx</link><pubDate>Wed, 07 Nov 2007 13:34:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24229</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24229.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24229</wfw:commentRss><description>&lt;p&gt;The common way is to use the Datediff function and VBscript. Many examples here but here is onewith code.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/forums/p/5646/21172.aspx#21172"&gt;http://www.infopathdev.com/forums/p/5646/21172.aspx#21172&lt;/a&gt;&lt;/p&gt;</description></item><item><title>How does I count workdays between two dates by managed code?</title><link>https://www.infopathdev.com:443/forums/thread/24226.aspx</link><pubDate>Wed, 07 Nov 2007 10:24:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24226</guid><dc:creator>jatuphum</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24226.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24226</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I want to count workdays between two dates, such as 12 Dec 2007 to&amp;nbsp;11 Jan 2008.&lt;/p&gt;
&lt;p&gt;I want to use by managed code.&lt;/p&gt;
&lt;p&gt;Cheers.&lt;/p&gt;</description></item></channel></rss>