<?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: Add Months to a date field</title><link>https://www.infopathdev.com:443/forums/thread/94249.aspx</link><pubDate>Tue, 12 Nov 2013 17:22:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94249</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94249.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=94249</wfw:commentRss><description>&lt;p&gt;&amp;nbsp; =DATE(YEAR([Date Registered ANV]),MONTH([Date Registered ANV])+[Months],DAY([Date Registered ANV])) &lt;/p&gt;&lt;p&gt;yes it is a common formula, but works in SharePoint calculated columns, not directly in an InfoPath form. If you have SharePoint you can use the above.&lt;/p&gt;&lt;p&gt;You might be able to use something like - http://www.hornerit.com/2010/10/infopath-date-calculations-and-date.html to get the date that you want directly with InfoPath.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Add Months to a date field</title><link>https://www.infopathdev.com:443/forums/thread/94241.aspx</link><pubDate>Tue, 12 Nov 2013 12:07:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94241</guid><dc:creator>d24n4e</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94241.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=94241</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I would like to add a date reminder field to my InfoPath that is the date in field&amp;nbsp;&lt;strong&gt;Date Registered ANV&lt;/strong&gt; plus 36 months (field &lt;strong&gt;Months&lt;/strong&gt;).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;a href="http://office.microsoft.com/en-gb/windows-sharepoint-services-help/examples-of-common-formulas-HA010105479.aspx#BM2"&gt;http://office.microsoft.com/en-gb/windows-sharepoint-services-help/examples-of-common-formulas-HA010105479.aspx#BM2&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have used the formula listed here, but get an error message to say the operand is not an expression.&lt;/p&gt;&lt;p&gt;&amp;nbsp;=DATE(YEAR([Date Registered ANV]),MONTH([Date Registered ANV])+[Months],DAY([Date Registered ANV]))&lt;/p&gt;&lt;p&gt;&amp;nbsp;Is anyone able to point out where&amp;nbsp;I am going wrong please?&lt;/p&gt;&lt;p&gt;The other formula&amp;nbsp;I tried is addDays(Date Registered ANV, 1095)&amp;nbsp; for the number of days in 3 years, however it then takes 1 day off the registered date and I need it to be exactly 3 years to the date.&lt;/p&gt;&lt;p&gt;Thank you&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>