<?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: Adding Months (or years) to a date field</title><link>https://www.infopathdev.com:443/forums/thread/40529.aspx</link><pubDate>Sat, 11 Apr 2009 23:44:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40529</guid><dc:creator>lukeksmith</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40529.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=40529</wfw:commentRss><description>&lt;p&gt;How would you do this?&amp;nbsp; I am having the same problem&lt;/p&gt;</description></item><item><title>Re: Adding Months (or years) to a date field</title><link>https://www.infopathdev.com:443/forums/thread/20644.aspx</link><pubDate>Tue, 12 Jun 2007 16:43:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20644</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20644.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=20644</wfw:commentRss><description>InfoPath 2007 provides date calculations. If you are in InfoPath 2003 or 2007, you can use managed code which has wonderful date functions, like AddMonths(). If you are using script, you will need to do all the footwork yourself to make this function as it should. You should be able to find appropriate help in a JScript or VBScript forum.</description></item><item><title>Adding Months (or years) to a date field</title><link>https://www.infopathdev.com:443/forums/thread/20603.aspx</link><pubDate>Mon, 11 Jun 2007 20:59:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:20603</guid><dc:creator>merley72</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/20603.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=20603</wfw:commentRss><description>&lt;p&gt;Hi,I&amp;#39;m loosing the plot somewhat over this.&amp;nbsp; Somewhere I&amp;#39;ve seen guidance which states how a date field can have its value increased by a number of months.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Basically I want&amp;nbsp;to have two fields - a date field and a &amp;#39;months&amp;#39; field, and once entries have been made in those,&amp;nbsp;either when a &amp;#39;Save&amp;#39; button is pressed or&amp;nbsp;a refresh occurs on the form, for the new calculated date to appear in a new &amp;#39;read only&amp;#39; field.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Unfortunately the approach of converting months into days (3 months would equate to approx. 91 days for example)&amp;nbsp;and then adding that to the date field, isn&amp;#39;t really good enough in this situation as I&amp;#39;m wanting to ensure we have the same date in the month regardless.&amp;nbsp;&lt;/p&gt;&lt;p&gt;It&amp;#39;s for use around reminders for payment dates and terms and so it has to be exact, therefore for example if we have a start date of 2nd Februay, and that should have 5 months added to it, it is essential that this becomes 2nd July in the calculated field.&lt;/p&gt;&lt;p&gt;I seem to remember that this guidance was on a page which held examples of calculating formula linked to dates.&amp;nbsp; If anyone can either point me to information they know of which documents this, or can advise on the methods and approaches, I will be very grateful.&lt;/p&gt;&lt;p&gt;Regards - Merley72&lt;/p&gt;</description></item></channel></rss>