<?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: convert string to date</title><link>https://www.infopathdev.com:443/forums/thread/71129.aspx</link><pubDate>Sun, 16 Oct 2011 15:44:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71129</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71129.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=71129</wfw:commentRss><description>&lt;p&gt;translate(startDate, &amp;#39;/&amp;#39;, &amp;#39;-&amp;#39;) should do the trick.&lt;/p&gt;</description></item><item><title>convert string to date</title><link>https://www.infopathdev.com:443/forums/thread/71125.aspx</link><pubDate>Sun, 16 Oct 2011 03:06:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71125</guid><dc:creator>MoBayTech</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71125.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=71125</wfw:commentRss><description>I have string data type field named startDate with text in the format of YYYY/MM/DD, I need to convert the text to a format that I can use to set a data picker named ppDate without getting a validation error


Is there a way to accomplish this using substring-before, substring-after and concat ?</description></item></channel></rss>