<?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: insert time into infopath filename</title><link>https://www.infopathdev.com:443/forums/thread/62943.aspx</link><pubDate>Mon, 10 Jan 2011 00:36:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62943</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62943.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=62943</wfw:commentRss><description>&lt;p&gt;I highly recommend not putting spaces and special characters in your filename like that.&amp;nbsp; It can be done with substring manipulation, but it is highly recommended not to do it the way you&amp;#39;re asking.&lt;/p&gt;</description></item><item><title>Re: insert time into infopath filename</title><link>https://www.infopathdev.com:443/forums/thread/62650.aspx</link><pubDate>Wed, 29 Dec 2010 20:47:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62650</guid><dc:creator>Potemkine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62650.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=62650</wfw:commentRss><description>&lt;p&gt;Hi, you can use a rule and set some condition to build your string and set a filename field.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i e: On field1:you set the default value:now()&lt;/p&gt;
&lt;p&gt;and&amp;nbsp;a rule&amp;nbsp;condition: substring(xdDate:Now(), 12, 2) &amp;gt; 12 (you have to select expression)&lt;/p&gt;
&lt;p&gt;and the rule to set another field: concat(substring(now(); 12; 2) - 12; &amp;quot;:&amp;quot;; substring(now(); 15; 2); &amp;quot; PM&amp;quot;)&lt;/p&gt;
&lt;p&gt;and something similar with the condition &amp;lt;12.&lt;/p&gt;</description></item><item><title>insert time into infopath filename</title><link>https://www.infopathdev.com:443/forums/thread/62649.aspx</link><pubDate>Wed, 29 Dec 2010 20:10:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:62649</guid><dc:creator>Hotdogwater</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/62649.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=62649</wfw:commentRss><description>I&amp;#39;m in the data connection wizard, and I&amp;#39;m trying to get the file name to come out as HH:MM:SS AM/PM. (1:49:42 PM)
Right now my forumla is producing, 24hr format time 13_49_42.
This is my formula
 substring(now(), 12, 8)</description></item></channel></rss>