<?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: Custom date format?</title><link>https://www.infopathdev.com:443/forums/thread/69170.aspx</link><pubDate>Wed, 10 Aug 2011 19:51:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69170</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69170.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=69170</wfw:commentRss><description>&lt;p&gt;You can use an expression box (calculated value in 2010) with this XPath:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;concat(substring(&lt;strong&gt;&lt;u&gt;dateField&lt;/u&gt;&lt;/strong&gt;, 6, 2), &amp;#39;.&amp;#39;, substring(&lt;strong&gt;&lt;u&gt;dateField&lt;/u&gt;&lt;/strong&gt;, 9, 2), &amp;#39;.&amp;#39;, substring(&lt;strong&gt;&lt;u&gt;dateField&lt;/u&gt;&lt;/strong&gt;, 1, 4))&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Re: Custom date format?</title><link>https://www.infopathdev.com:443/forums/thread/69114.aspx</link><pubDate>Tue, 09 Aug 2011 17:19:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69114</guid><dc:creator>Erich</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69114.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=69114</wfw:commentRss><description>&lt;p&gt;Use the following code in javascript :&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;var zeros = [&amp;quot;01&amp;quot;,&amp;quot;02&amp;quot;,&amp;quot;03&amp;quot;,&amp;quot;04&amp;quot;,&amp;quot;05&amp;quot;,&amp;quot;06&amp;quot;,&amp;quot;07&amp;quot;,&amp;quot;08&amp;quot;,&amp;quot;09&amp;quot;,&amp;quot;10&amp;quot;,&amp;quot;11&amp;quot;,&amp;quot;12&amp;quot;];&lt;/p&gt;
&lt;p&gt;var oDate = new Date();&lt;br /&gt;date = odate.getDate();&lt;br /&gt;if(date &amp;lt; 10) date = zeros[date-1];&lt;/p&gt;
&lt;p&gt;strDate = zeros[odate.getMonth()] + &amp;quot;.&amp;quot; + date + &amp;quot;.&amp;quot; + odate.getFullYear();&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The zeros array is used so a zero is appended before any single digit.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Erich&lt;/p&gt;</description></item><item><title>Re: Custom date format?</title><link>https://www.infopathdev.com:443/forums/thread/69053.aspx</link><pubDate>Mon, 08 Aug 2011 05:35:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69053</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69053.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=69053</wfw:commentRss><description>&lt;p&gt;Hi Lenovo27,&lt;/p&gt;
&lt;p&gt;Not sure if you can use 3rd party plugins or not, but qRules has a very powerful FormatDate feature.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Custom date format?</title><link>https://www.infopathdev.com:443/forums/thread/68912.aspx</link><pubDate>Tue, 02 Aug 2011 16:35:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:68912</guid><dc:creator>lenovo27</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/68912.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=68912</wfw:commentRss><description>&lt;p&gt;Anyone know how I can setup a custom date format? I need the field to show the date in the following format: 08.02.2011&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I believe I can use xpath for this though I am not quite sure how to write it out.&lt;/p&gt;</description></item></channel></rss>