<?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: find 6 months, ahead or back</title><link>https://www.infopathdev.com:443/forums/thread/122288.aspx</link><pubDate>Thu, 23 Jan 2020 16:07:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122288</guid><dc:creator>granDelimiter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122288.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122288</wfw:commentRss><description>Thanks Hilary,
I see now that SharePoint makes it easy to add months to a date, and integrates it even for leap years in a calculated column:

=DATE(YEAR(originalDate),MONTH(originalDate)+6,DAY(originalDate))

More on formulas at:
https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/bb862071(v%3Doffice.14)#date-and-time-formulas. 

I wouldn&amp;#39;t have found it without your forum to think out loud in.</description></item><item><title>Re: find 6 months, ahead or back</title><link>https://www.infopathdev.com:443/forums/thread/122287.aspx</link><pubDate>Thu, 23 Jan 2020 15:36:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122287</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122287.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122287</wfw:commentRss><description>Dates are formatted yyyy-mm-dd in XML. Date time fields are formatted yyyy-mm-ddTHH:MM:SS. So if you are populating a date field, you&amp;#39;d use a concat formula to put your numbers in, separated by hyphens, like 2020-01-23. If you need a date time, because your field is a date time field, you can use 0s for the time, like 2020-01-23T00:00:00.</description></item><item><title>Re: find 6 months, ahead or back</title><link>https://www.infopathdev.com:443/forums/thread/122286.aspx</link><pubDate>Thu, 23 Jan 2020 02:52:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122286</guid><dc:creator>granDelimiter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122286.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122286</wfw:commentRss><description>Update: I got extracting year (and month) as numbers: YEAR(dateField), leaving datatype as number.
After I do my math, how do I insert the new number into a date field?</description></item><item><title>find 6 months, ahead or back</title><link>https://www.infopathdev.com:443/forums/thread/122284.aspx</link><pubDate>Wed, 22 Jan 2020 23:28:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122284</guid><dc:creator>granDelimiter</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122284.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=122284</wfw:commentRss><description>Hi,
Here&amp;#39;s a question that should be fun. I want to set a date field to a date 6 months in the future. I see posts about subtracting date/times that look extremely hard and complicated. I only need the number of months. I suppose it will involve extracting the year and the month separately and using a formula.
Does the extration have to be to txt?  (numbers might be more useful)
If so, can I convert them back to numbers?
Has anyone done this?
Thanks,</description></item></channel></rss>