<?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: Submit Data Connection - File Name includes value of a Date Field, but only the YEAR</title><link>https://www.infopathdev.com:443/forums/thread/81491.aspx</link><pubDate>Wed, 08 Aug 2012 01:41:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81491</guid><dc:creator>brice235i</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81491.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81491</wfw:commentRss><description>&lt;p&gt;Thank you very much.&amp;nbsp; Works great!&lt;/p&gt;</description></item><item><title>Re: Submit Data Connection - File Name includes value of a Date Field, but only the YEAR</title><link>https://www.infopathdev.com:443/forums/thread/81436.aspx</link><pubDate>Tue, 07 Aug 2012 10:55:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81436</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81436.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81436</wfw:commentRss><description>&lt;p&gt;Try this:&lt;/p&gt;&lt;p&gt;substring(today(), 1, 4) &lt;/p&gt;&lt;p&gt;today() returns today&amp;#39;s date with the year as the first four characters, so substring selects just those first four characters.&lt;/p&gt;&lt;p&gt;Good luck! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Submit Data Connection - File Name includes value of a Date Field, but only the YEAR</title><link>https://www.infopathdev.com:443/forums/thread/81435.aspx</link><pubDate>Tue, 07 Aug 2012 07:30:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81435</guid><dc:creator>brice235i</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81435.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81435</wfw:commentRss><description>&lt;p&gt;Hi there, I am trying to add the year to form file names displayed in a Sharepoint library.&amp;nbsp; The problem is, that I&amp;#39;d only like to display the year.&amp;nbsp; Does anyone know how to do this?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;concat(&amp;quot;Expense Form-&amp;quot;, Cost Code, &amp;quot;-&amp;quot;, &lt;strong&gt;Date&lt;/strong&gt;, &amp;quot;-&amp;quot;, FormNumber)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Alternatively I could ask the user to manually input the year, but would be good if there is a way to do this automatically.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;</description></item></channel></rss>