<?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: Difference in Months between 2 dates</title><link>https://www.infopathdev.com:443/forums/thread/61302.aspx</link><pubDate>Thu, 11 Nov 2010 12:45:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61302</guid><dc:creator>Mgauf</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61302.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61302</wfw:commentRss><description>Thank you. Thank you. Thank you.</description></item><item><title>Re: Difference in Months between 2 dates</title><link>https://www.infopathdev.com:443/forums/thread/61208.aspx</link><pubDate>Tue, 09 Nov 2010 15:55:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61208</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61208.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61208</wfw:commentRss><description>&lt;p&gt;How about&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;(12 * (substring(&lt;strong&gt;&lt;u&gt;date2&lt;/u&gt;&lt;/strong&gt;, 1, 4) - substring(&lt;strong&gt;&lt;u&gt;date1&lt;/u&gt;&lt;/strong&gt;, 1, 4))) + (substring(&lt;strong&gt;&lt;u&gt;date2&lt;/u&gt;&lt;/strong&gt;, 6, 2) - substring(&lt;strong&gt;&lt;u&gt;date1&lt;/u&gt;&lt;/strong&gt;, 6, 2))&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Re: Difference in Months between 2 dates</title><link>https://www.infopathdev.com:443/forums/thread/61207.aspx</link><pubDate>Tue, 09 Nov 2010 15:47:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61207</guid><dc:creator>Mgauf</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61207.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61207</wfw:commentRss><description>&lt;p&gt;I failed to mention that the date picker fields can be more than 1 calendar year. For example, i would need a formula that would resolve the difference in months between 11/1/2010 and 11/1/2008. Thanks again for your assistance.&lt;/p&gt;</description></item><item><title>Re: Difference in Months between 2 dates</title><link>https://www.infopathdev.com:443/forums/thread/61198.aspx</link><pubDate>Tue, 09 Nov 2010 13:25:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61198</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61198.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61198</wfw:commentRss><description>&lt;p&gt;Perhaps I&amp;#39;m oversimplifying the problem, but I&amp;#39;m attaching a form that does some simple calculations.&lt;/p&gt;&lt;p&gt;If you&amp;#39;d like something more robust (taking days/hours into account), you could use the DiffDate command in &lt;a href="http://www.qdabra.com/en/products/qRules.aspx"&gt;qRules&lt;/a&gt;. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Difference in Months between 2 dates</title><link>https://www.infopathdev.com:443/forums/thread/61196.aspx</link><pubDate>Tue, 09 Nov 2010 13:14:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61196</guid><dc:creator>Mgauf</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61196.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=61196</wfw:commentRss><description>&lt;p&gt;I am looking for a solution for to show the difference in months between two dates. I tried the Excel solution (=(YEAR(LDate)-YEAR(EDate))*12+MONTH(LDate)-MONTH(EDate)), but get a formula error: &amp;quot;&amp;#39;YEAR&amp;#39; is not a valid XSLT or XPath function.&amp;quot;. &lt;/p&gt;
&lt;p&gt;Any assistance would be aqppreciated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>