<?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: Changing the date format in the File name on Submit</title><link>https://www.infopathdev.com:443/forums/thread/120642.aspx</link><pubDate>Wed, 20 Mar 2019 10:59:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120642</guid><dc:creator>zakaria.botros</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120642.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=120642</wfw:commentRss><description>I need today() to be updated column in SharePoint --------- (without filter our any items that added for example [Today]-7 &amp;gt;&amp;gt; this solution is suggested to many sites by professionals but doesn&amp;#39;t fit my case cause I don&amp;#39;t want to filter out any item)


Any solution to this problem?</description></item><item><title>Re: Changing the date format in the File name on Submit</title><link>https://www.infopathdev.com:443/forums/thread/120581.aspx</link><pubDate>Tue, 12 Mar 2019 17:56:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120581</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120581.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=120581</wfw:commentRss><description>Right - &amp;quot;:&amp;quot; is not an allowed filename in SharePoint and SharePoint will change that char to an underscore. http://www.sysadminsblog.com/microsoft/file-name-length-and-character-restrictions-for-sharepoint/ has good info on this.</description></item><item><title>Re: Changing the date format in the File name on Submit</title><link>https://www.infopathdev.com:443/forums/thread/120580.aspx</link><pubDate>Tue, 12 Mar 2019 17:49:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120580</guid><dc:creator>zakaria.botros</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120580.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=120580</wfw:commentRss><description>I used the code : 

concat(substring(now(), 1, 4), substring(now(), 6, 2), substring(now(), 9, 2), &amp;quot;(&amp;quot;, substring(now(), 12, 2),&amp;quot;:&amp;quot;,substring(now(), 15, 2), &amp;quot;)&amp;quot;)


however the name sowed as 20190312(13_27), I was expecting the: to appear . to find the name as 20190312(13:27)  .


to resume, the: cannot appear in the name of the file.</description></item><item><title>Re: Changing the date format in the File name on Submit</title><link>https://www.infopathdev.com:443/forums/thread/120525.aspx</link><pubDate>Tue, 05 Mar 2019 17:50:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120525</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120525.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=120525</wfw:commentRss><description>now() returns the datetime in ISO format: 2019-03-05T09:49:00 for example. You can put a calculated value on your form and set it to now() to see this. Looks like the substring you mention would return the month.</description></item><item><title>Re: Changing the date format in the File name on Submit</title><link>https://www.infopathdev.com:443/forums/thread/120524.aspx</link><pubDate>Tue, 05 Mar 2019 16:47:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120524</guid><dc:creator>zakaria.botros</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120524.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=120524</wfw:commentRss><description>(substring(now(), 6, 2)    the 6 is a start digit and the 2 is the length to be considered as a return value for the function.

what is the complete format for now() function which we get some parts from it by applying  (substring(now(), 6, 2) to it?</description></item><item><title>Re: Changing the date format in the File name on Submit</title><link>https://www.infopathdev.com:443/forums/thread/118723.aspx</link><pubDate>Mon, 09 Apr 2018 16:02:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:118723</guid><dc:creator>Kharrison</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/118723.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=118723</wfw:commentRss><description>Hi Jennifer,

Can you help me with not showing the date at the end of the filename on submit?</description></item><item><title>Re: Changing the date format in the File name on Submit</title><link>https://www.infopathdev.com:443/forums/thread/88549.aspx</link><pubDate>Mon, 01 Apr 2013 19:35:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88549</guid><dc:creator>Kei Ishida</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88549.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=88549</wfw:commentRss><description>Thanks! That did the trick.</description></item><item><title>Re: Changing the date format in the File name on Submit</title><link>https://www.infopathdev.com:443/forums/thread/88200.aspx</link><pubDate>Tue, 19 Mar 2013 20:14:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88200</guid><dc:creator>JenniferLindsay</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88200.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=88200</wfw:commentRss><description>&lt;p&gt;Hi Kei,&lt;/p&gt;&lt;p&gt;&amp;nbsp;The reason why you are not getting the 0 digits to appear is because you are converting everything to numbers with the number() function.&amp;nbsp; When the number function sees the value &amp;#39;03&amp;#39; it will convert it into the number &amp;#39;3&amp;#39;, because numbers do not have leading zeros on the left.&amp;nbsp; If you remove the number() function from your formula then the 0 digits will appear.&amp;nbsp; Use this formula instead:&lt;/p&gt;&lt;p&gt;&amp;nbsp;concat(substring(now(), 1, 4), substring(now(), 6, 2), substring(now(), 9, 2), &amp;quot;_&amp;quot;, substring(now(), 12, 2), substring(now(), 15, 2), substring(now(), 18, 2))&lt;/p&gt;&lt;p&gt;&amp;nbsp;Sorry I didn&amp;#39;t catch this earlier!&lt;/p&gt;</description></item><item><title>Re: Changing the date format in the File name on Submit</title><link>https://www.infopathdev.com:443/forums/thread/88185.aspx</link><pubDate>Tue, 19 Mar 2013 17:28:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88185</guid><dc:creator>Kei Ishida</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88185.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=88185</wfw:commentRss><description>&lt;p&gt;Thanks for the explanation Lindsay. I didn&amp;#39;t know about the colons, so that&amp;#39;s really helpful info.&lt;/p&gt;&lt;p&gt;For the date, I&amp;#39;m trying to&amp;nbsp;output 8 digits every time. The current formula returns 2013&lt;strong&gt;3&lt;/strong&gt;18 and I&amp;#39;d like it to return 2013&lt;strong&gt;03&lt;/strong&gt;18. How do I go about getting the&amp;nbsp;month and date to reliably put out 2 digits (01, 02, 03)?&lt;/p&gt;</description></item><item><title>Re: Changing the date format in the File name on Submit</title><link>https://www.infopathdev.com:443/forums/thread/88178.aspx</link><pubDate>Tue, 19 Mar 2013 16:28:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88178</guid><dc:creator>JenniferLindsay</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88178.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=88178</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Kei,&lt;/p&gt;&lt;p&gt;The problem is that the 6 digits&amp;nbsp;that represent&amp;nbsp;time&amp;nbsp;in the&amp;nbsp;now()&amp;nbsp;function are separated by colons, so using substring(now(), 10, 6) returns some digits and some colons.&amp;nbsp; The number() function doesn&amp;#39;t know what to do with the colons, so it returns NaN.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here is the correct formula:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;concat(number(substring(now(), 1, 4)), number(substring(now(), 6, 2)), number(substring(now(), 9, 2)), &amp;quot;_&amp;quot;, number(substring(now(), 12, 2)), number(substring(now(), 15, 2)), number(substring(now(), 18, 2)))&lt;/p&gt;</description></item><item><title>Changing the date format in the File name on Submit</title><link>https://www.infopathdev.com:443/forums/thread/88138.aspx</link><pubDate>Mon, 18 Mar 2013 20:56:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88138</guid><dc:creator>Kei Ishida</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88138.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=88138</wfw:commentRss><description>&lt;p&gt;My Infopath form submits to a SharePoint List. On submit, the instance of the form is saved with the date. By default, I think this is YYYY-MM-DDTHH_MM_SS, e.g. 2013-03-18T13_49_01. I need it to display as YYYYMMDD_HHMMSS, e.g. 20130318_134901&lt;/p&gt;&lt;p&gt;Solutions have been posted on&amp;nbsp;these other&amp;nbsp;threads, but I haven&amp;#39;t been able to get it to work:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.infopathdev.com/forums/p/20434/75629.aspx#75629"&gt;now() function question&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.infopathdev.com/forums/p/14548/80861.aspx"&gt;date format&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.infopathdev.com/forums/p/3665/12833.aspx#12833"&gt;Using functions to return date in US format&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Here&amp;#39;s my formula for saving the file name:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;concat(number(substring(now(), 1, 4)), number(substring(now(), 6, 2)), number(substring(now(), 9, 2)), &amp;quot;_&amp;quot;, number(substring(now(), 10, 6)))&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;The output I get is 2013318_NaN. I need it to display as YYYYMMDD_HHMMSS, e.g. 20130318_134901. Any suggestions would be appreciated.&lt;/p&gt;&lt;p&gt;Thanks in advance,&lt;/p&gt;&lt;p&gt;K&lt;/p&gt;</description></item></channel></rss>