<?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: Calculating dates and time for total</title><link>https://www.infopathdev.com:443/forums/thread/55252.aspx</link><pubDate>Mon, 24 May 2010 14:56:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55252</guid><dc:creator>Alec Pojidaev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55252.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=55252</wfw:commentRss><description>&lt;p&gt;Check out this link:&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: Calculating dates and time for total</title><link>https://www.infopathdev.com:443/forums/thread/55214.aspx</link><pubDate>Fri, 21 May 2010 20:30:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55214</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55214.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=55214</wfw:commentRss><description>&lt;p&gt;Hi Donnie,&lt;/p&gt;&lt;p&gt;Though it is possible via code (or &lt;a href="http://www.qdabra.com/en/products/qRules.aspx"&gt;qRules&lt;/a&gt;) to calculate a date difference, there are a few issues to keep in mind:&lt;/p&gt;&lt;p&gt;1. What about weekends? Do Saturday and Sunday get excluded?&lt;/p&gt;&lt;p&gt;2. The same can be asked about holidays, which might be different in different states or countries.&lt;/p&gt;&lt;p&gt;If you were to ignore weekend and Holidays, then yes, it should be possible via managed code or qRules&amp;#39; DateDiff to calculate the difference in days and difference in hours.&lt;/p&gt;&lt;p&gt;What are your thoughts on the two issues I&amp;#39;ve mentioned? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Calculating dates and time for total</title><link>https://www.infopathdev.com:443/forums/thread/55145.aspx</link><pubDate>Thu, 20 May 2010 18:47:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55145</guid><dc:creator>Donnie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55145.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=55145</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am hoping someone can point me in the right direction. I have an infopath form that I use with MOSS 2007, its a leave request form. I have 4 different fields for dates and times...&lt;/p&gt;
&lt;p&gt;field 1. start date (date picker) - datatype (Date)&lt;/p&gt;
&lt;p&gt;field 2. start time (drop down list in 15 minute increments) - datatype (Time)&lt;/p&gt;
&lt;p&gt;field 3. end date (date picker) - datatype (Date)&lt;/p&gt;
&lt;p&gt;field 4. end time (drop down list in 15 minute increments) - datatype (Time)&lt;/p&gt;
&lt;p&gt;I have another field that I want to display the total number of days requested, including partial days (example, 1.5 days)&lt;/p&gt;
&lt;p&gt;can anyone assist in pointing me in the right direction?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;thanks,&lt;/p&gt;
&lt;p&gt;Donnie&lt;/p&gt;</description></item></channel></rss>