<?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>Formatting Time and Submitting to SharePoint in InfoPath 2003</title><link>https://www.infopathdev.com:443/forums/thread/64045.aspx</link><pubDate>Wed, 09 Feb 2011 21:59:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64045</guid><dc:creator>Jenny18</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64045.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=64045</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;
&lt;p&gt;I need some help and am using InfoPath 2003 with SharePoint.&amp;nbsp; I would like to create a Request ID (and store this value when it is submitted to SharePoint), and would like it to look like the following format/&lt;/p&gt;
&lt;p&gt;&amp;nbsp;2011.0111.143436&lt;/p&gt;
&lt;p&gt;So I created a Text Box called RequestID, then created a DefaultValue using the fx button, and unchecked the option for&amp;nbsp;&amp;quot;Update this value when the rest of the formula is recalculated&amp;quot;&amp;nbsp;and have come up with this formula:&lt;/p&gt;
&lt;p&gt;concat(substring(today(), 1, 4), &amp;quot;.&amp;quot;, substring(today(), 6, 2), substring(today(), 9, 2), &amp;quot;.&amp;quot;, substring-after(now(), &amp;quot;T&amp;quot;))&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have 2 problems:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;#1 - The format of this looks like:&lt;/p&gt;
&lt;p&gt;2011.0209.16:57:52&lt;/p&gt;
&lt;p&gt;So on this I would like to know how to get the time to show hours, minutes, and seconds without :&amp;#39;s as shown in my example.&lt;/p&gt;
&lt;p&gt;#2 - When I submit this to SharePoint, will the RequestID be submitted to SharePoint, or is there another way I have to set this for it to work?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thank you in advance for your help.&amp;nbsp; I am out of ideas!&amp;nbsp; (My idea is to use this as a unique value (vs. the SharePoint ID field)), to generate a unique number for this request.&lt;/p&gt;
&lt;p&gt;Desparate for a solution!&lt;/p&gt;</description></item></channel></rss>