<?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: Need Js code for calculate date difference between date pickers excluding holidays</title><link>https://www.infopathdev.com:443/forums/thread/59114.aspx</link><pubDate>Wed, 22 Sep 2010 00:14:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59114</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59114.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=59114</wfw:commentRss><description>&lt;p&gt;Does your form already query the database? Can you export the database file to an XML resource form and include in your form&amp;#39;s template? If so, you should be able to do this without code. You can use rules and a count function to iteratively walk through from one date to another and add the value for each one. Check out Jo-Anne&amp;#39;s recent download on how to iteratively copy values from a SharePoint list to a form. Same technique but instead of copying, you are just adding values and decrementing the count. &lt;/p&gt;
&lt;p&gt;Good luck!&lt;/p&gt;
&lt;p&gt;Note: eval(eval(...)) technique probably wouldn&amp;#39;t work here since your database XML file will have all 365 days in it and it needs to go from one to another. Also note: you&amp;#39;ll need to have a day for Feb 29 during leap years which means you probably need to just create an XML resource with 4 year&amp;#39;s worth of work/holidays in it and start on the right year (add 1 if (current year minus 2008 mod 4) is equal to zero)&lt;/p&gt;</description></item><item><title>Need Js code for calculate date difference between date pickers excluding holidays</title><link>https://www.infopathdev.com:443/forums/thread/59024.aspx</link><pubDate>Mon, 20 Sep 2010 12:40:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:59024</guid><dc:creator>madhu2146</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/59024.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=59024</wfw:commentRss><description>&lt;p&gt;Actly i need to calculate date difference excluding holidays.i have maintained a database for holiday list.0-is holidays and 1- is working day.&lt;/p&gt;
&lt;p&gt;maintaing every for everymonth for a year.while selecting date picker holidays shold not count..can i get js code for these validations&lt;/p&gt;</description></item></channel></rss>