<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Date value</title><link>https://www.infopathdev.com:443/forums/thread/96660.aspx</link><pubDate>Wed, 26 Mar 2014 10:22:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96660</guid><dc:creator>InfoAda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96660.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=96660</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Thank you for replying, at the same&amp;nbsp;time i found&amp;nbsp;a solution but i guess you brought an explanation .&lt;br /&gt;So what i did was to use this formula : concat(sous-chaîne(Date; 1; 4); &amp;quot;-12-31T00:00:00&amp;quot;). &lt;br /&gt;Even if i use date format it seems that adding time to the formula slved my problem.&lt;/p&gt;&lt;p&gt;As you mentionned, the point is that date format&amp;nbsp;has to be entered this way : YYYY-MM-DD whatever your local settings are&amp;nbsp;or the format displayed by InfoPath.&lt;/p&gt;&lt;p&gt;Thank you !&lt;/p&gt;&lt;p&gt;Regards&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Date value</title><link>https://www.infopathdev.com:443/forums/thread/96655.aspx</link><pubDate>Wed, 26 Mar 2014 09:29:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96655</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96655.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=96655</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://www.infopathdev.com/photos/blog_pictures/picture96654.aspx" target="_blank"&gt;&lt;/a&gt;Hi,&lt;/p&gt;&lt;p&gt;Date values are actually stored in the format YYYY-MM-DD in the XML, e.g. 2014-12-31.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;img src="http://www.infopathdev.com/photos/blog_pictures/images/96654/original.aspx" alt="" /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;See attached XSN for a sample on how to achieve what you want. Notice I&amp;#39;m using a rule in the Date field with a condition: if Date is not blank, set Archive to concat(substring(., 1, 4), &amp;quot;-12-31&amp;quot;)&lt;/p&gt;&lt;p&gt;Hope it helps!&lt;/p&gt;</description></item><item><title>Date value</title><link>https://www.infopathdev.com:443/forums/thread/96651.aspx</link><pubDate>Wed, 26 Mar 2014 08:52:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96651</guid><dc:creator>InfoAda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96651.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=96651</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;&lt;p&gt;I have a date field called &amp;quot;Date&amp;quot; and another date field called &amp;quot;Archive&amp;quot;.&lt;br /&gt;I would like archive to contain &amp;quot;21/12/Year of field date&amp;quot;.&lt;/p&gt;&lt;p&gt;So i tried many things but i still have the same problem. No matter if a use a calculated default value or a rule to update my field archive, i always have the field underline like if the value wasn&amp;#39;t matching with the expected field type ...&lt;/p&gt;&lt;p&gt;The formula is : concat(&amp;quot;31/12/&amp;quot;; sous-chaîne(Date; 1; 4))&lt;br /&gt;-&amp;gt; displays 31/12/2014 but with the field highlight&lt;/p&gt;&lt;p&gt;I tried all these combinations but none of them worked &lt;br /&gt;concat(sous-chaîne(Date; 1; 4); &amp;quot;-12-31&amp;quot;)&lt;br /&gt;concat(sous-chaîne(Date; 1; 4); &amp;quot;-31-12&amp;quot;)&lt;/p&gt;&lt;p&gt;concat(sous-chaîne(Date; 1; 4); &amp;quot;/12/31&amp;quot;)&lt;br /&gt;concat(sous-chaîne(Date; 1; 4); &amp;quot;/31/12&amp;quot;)&lt;/p&gt;&lt;p&gt;concat(&amp;quot;31/12/&amp;quot;; sous-chaîne(Date; 1; 4))&lt;br /&gt;concat(&amp;quot;31-12-&amp;quot;; sous-chaîne(Date; 1; 4))&lt;/p&gt;&lt;p&gt;I don&amp;#39;t get it...&lt;/p&gt;&lt;p&gt;If i pick up the value in the picker it will display the same value but without error message !&lt;/p&gt;&lt;p&gt;&lt;img src="http://social.msdn.microsoft.com/Forums/getfile/435870" alt="" /&gt;&lt;/p&gt;&lt;p&gt;Any idea of what&amp;#39;s wrong ? &lt;/p&gt;&lt;p&gt;Regards &amp;nbsp;&lt;/p&gt;</description></item></channel></rss>