<?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>How to convert text to date in Infopath2013</title><link>https://www.infopathdev.com:443/forums/thread/120523.aspx</link><pubDate>Tue, 05 Mar 2019 16:18:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120523</guid><dc:creator>Bmarsal</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120523.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=120523</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi All,&lt;/p&gt;&lt;p&gt;In Infopath 2013 I have&amp;nbsp;to calculate a date from a date picker (Primarytermexpirationdate)&amp;nbsp;and&amp;nbsp;a text box (Nextreview).&amp;nbsp;The result goes to another text&amp;nbsp;box (testdatesplit)&amp;nbsp;and contains the day and month from the date picker, and the year from the text field. I did this&amp;nbsp;with the formula &amp;nbsp;concat(Nextreview, &amp;quot;-&amp;quot;, (number(substring(Primarytermexpirationdate, 6, 2))), &amp;quot;-&amp;quot;, number(substring(Primarytermexpirationdate, 9, 2))). It works alright, but I need to turn it into a date again, because I&amp;nbsp;have to use it in a SP list as such.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I tried to google the question and tried several formulas found there, but none of them worked for me.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Can anyone please advise how to do this?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thank you a lot!&lt;/p&gt;&lt;p&gt;&amp;nbsp;Barbara&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>