<?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: Date format in subject field of email</title><link>https://www.infopathdev.com:443/forums/thread/78421.aspx</link><pubDate>Wed, 09 May 2012 21:00:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78421</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78421.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=78421</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;&lt;p&gt;Some options you can try:&lt;/p&gt;&lt;p&gt;1) msxsl:format-date() will work, but only in the client.&lt;/p&gt;&lt;p&gt;2) qRules has dat functions which you can use - &lt;a href="http://www.qdabra.com/en/products/qRules_new.aspx"&gt;http://www.qdabra.com/en/products/qRules_new.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;3) you can use the month value and create a lookup that will transform a number into a month name&lt;/p&gt;&lt;p&gt;&amp;nbsp;Hope this helps!&lt;/p&gt;</description></item><item><title>Date format in subject field of email</title><link>https://www.infopathdev.com:443/forums/thread/78419.aspx</link><pubDate>Wed, 09 May 2012 19:39:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78419</guid><dc:creator>erichardson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78419.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=78419</wfw:commentRss><description>&lt;p&gt;Hello, I have found this site very useful.&amp;nbsp; This is my first time using&amp;nbsp;Microsoft InfoPath 2010.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I created a form, and I&amp;#39;m using three fields in the subject line of the email it creates.&amp;nbsp;CITY1&amp;nbsp;and&amp;nbsp;CASE2&amp;nbsp;are text fields.&amp;nbsp;DATE3 is created with date picker properties, data type is Date (date).&lt;/p&gt;
&lt;p&gt;Here is an example of what&amp;nbsp;I want it to look like in someone&amp;#39;s inbox:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fields:&lt;/strong&gt; CITY1 (DATE3&lt;em&gt;~month&lt;/em&gt; - CASE2)&lt;br /&gt;&lt;strong&gt;Example:&lt;/strong&gt; Houston (May -&amp;nbsp;Lonestar) &lt;/p&gt;
&lt;p&gt;My problem is editing the date format in the subject line function box.&amp;nbsp; This is as far as I&amp;#39;ve been able to figure out on my own:&lt;/p&gt;
&lt;p&gt;concat(CITY1, &amp;quot; (&amp;quot;, &lt;span style="FONT-FAMILY:&amp;#39;Tahoma&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:black;FONT-SIZE:10pt;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;substring-before(substring-after(DATE3, &amp;quot;-&amp;quot;), &amp;quot;-&amp;quot;)&lt;/span&gt;, &amp;quot; - &amp;quot;,&amp;nbsp;CASE2, &amp;quot;)&amp;quot;)&lt;/p&gt;
&lt;p&gt;Which makes the subject line look like this:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Subject:&lt;/strong&gt; Houston (05 - Lonestar)&lt;/p&gt;
&lt;p&gt;Is there a way to change the&amp;nbsp;numerical substring&amp;nbsp;date in the function to the MMM format?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>