<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Month Function With String in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Month-Function-With-String/m-p/477176#M1122292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take care of the format codes for Month 'MM' vs minutes 'mm'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;month(Timestamp#(payment_date, 'MM/DD/YYYY hh:mm:ss')) as month,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jan 2014 17:37:48 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2014-01-07T17:37:48Z</dc:date>
    <item>
      <title>Month Function With String</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Function-With-String/m-p/477175#M1122291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brand new to QlickView and found the Out Of The Box demo to be very helpful getting started.&amp;nbsp; The demo uses the MONTH function to obtain month from a date field but I can't get it to work with a string.&amp;nbsp; During the load process:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Timestamp#(payment_date, 'mm/dd/yyyy hh:mm:ss') as payment_date,&lt;BR /&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;This converts the string to a date field.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;year(Timestamp#(payment_date, 'mm/dd/yyyy hh:mm:ss')) as year,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;This converts the string to a date field and provides the correct year&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;month(Timestamp#(payment_date, 'mm/dd/yyyy hh:mm:ss')) as month,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Not sure what this did!&amp;nbsp; My list box only shows 'Jan' when I expected all 12 months.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone explain why I don't get these values in my list box?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;-Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 17:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Function-With-String/m-p/477175#M1122291</guid>
      <dc:creator />
      <dc:date>2014-01-07T17:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Month Function With String</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Function-With-String/m-p/477176#M1122292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take care of the format codes for Month 'MM' vs minutes 'mm'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;month(Timestamp#(payment_date, 'MM/DD/YYYY hh:mm:ss')) as month,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 17:37:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Function-With-String/m-p/477176#M1122292</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-01-07T17:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Month Function With String</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Function-With-String/m-p/477177#M1122293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;can you please try the following : &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;=month(date(floor(date_col))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 17:40:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Function-With-String/m-p/477177#M1122293</guid>
      <dc:creator>sureshbaabu</dc:creator>
      <dc:date>2014-01-07T17:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Month Function With String</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Function-With-String/m-p/477178#M1122294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As swuehl says mm refers to minutes, MM to month!&lt;/P&gt;&lt;P&gt;I always use uppercase for date formats, lowercase for time formats to avoid this confusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(date#(payment_date, 'MM/DD/YYYY hh:mm:ss')) as payment_date,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;year(date#(payment_date, 'MM/DD/YYYY hh:mm:ss')) as year,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;month(date#(payment_date, 'MM/DD/YYYY hh:mm:ss')) as month&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 17:46:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Function-With-String/m-p/477178#M1122294</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-01-07T17:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Month Function With String</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Function-With-String/m-p/477179#M1122295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a big difference between date# and timestamp#?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 19:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Function-With-String/m-p/477179#M1122295</guid>
      <dc:creator />
      <dc:date>2014-01-07T19:26:13Z</dc:date>
    </item>
  </channel>
</rss>

