<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Add a number of months to a date</title><link>https://www.infopathdev.com:443/forums/thread/104981.aspx</link><pubDate>Tue, 22 Dec 2015 23:49:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104981</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104981.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=104981</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Maybe add special handling if your result is &amp;gt; 12? If the result is &amp;gt; 12, you could subtract 12 from it and add to the year? Or just use the addDays function and multiply 30 by whatever the number of months is...? &lt;/p&gt;</description></item><item><title>Add a number of months to a date</title><link>https://www.infopathdev.com:443/forums/thread/104901.aspx</link><pubDate>Fri, 11 Dec 2015 12:06:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104901</guid><dc:creator>WiReLaD</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104901.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=104901</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;I was hoping somebody could help me!! please.&lt;/p&gt;&lt;p&gt;I&amp;#39;m trying to create a running schedule, audit system within a InfoPath repeating table. &amp;nbsp;I&amp;#39;m using the perhaps not so clever function string&amp;nbsp;&amp;quot;substring(&lt;strong&gt;datepicker1&lt;/strong&gt;(), 6, 2)&amp;quot;&amp;nbsp; gives me a month number and using&amp;nbsp;12 rules, 1 = Jan, 2&amp;nbsp;= Feb..etc. seems to work fine.&lt;/p&gt;&lt;p&gt;What I&amp;#39;m then trying to do is Add into a&amp;nbsp;Datepicker2 field, Add a 2nd&amp;nbsp;date, depending on a given period.&amp;nbsp;(Not everyone does these audits&amp;nbsp;every month) therefore, I have a standard textbox which I insert a value. 1 = monthly, or&amp;nbsp;5 = every 5 monthly. 5 being the maximum number I&amp;#39;ll use&amp;nbsp;as we have 5 people and therefor they&amp;#39;ll do 1 audit every 5 months.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;My idea was datepicker1 holds the month the person should complete the audit. datepicker2 holds the month that he will be next expected to audit. eg.&amp;nbsp;picker1. [January], textbox = 5, &amp;nbsp;picker2. [June] - I then had a chkbox which when clicked, transfers the value of&amp;nbsp;picker 2 to picker1 value and so on.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I was&amp;nbsp;having some joy with this, that is until I reached December then adding a 1 value&amp;nbsp;to 12 gives 13 and it all goes pear shape.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;m really looking for help how best to&amp;nbsp;do this?&lt;/p&gt;&lt;p&gt;Any help will be much appreciated.&lt;/p&gt;&lt;p&gt;Thanks and Merry Christmas &lt;/p&gt;&lt;p&gt;Mike&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>