<?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 Convert Month in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291898#M403796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field called [Event Date Time] which is formatted as MM/DD/YYYY and is numeric so, 11/12/2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display just the MM (months) in a list box. In the script, how can I pull out just the month and convert it to just display NOV for the above date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Feb 2017 21:32:02 GMT</pubDate>
    <dc:creator>evansabres</dc:creator>
    <dc:date>2017-02-16T21:32:02Z</dc:date>
    <item>
      <title>Convert Month in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291898#M403796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field called [Event Date Time] which is formatted as MM/DD/YYYY and is numeric so, 11/12/2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to display just the MM (months) in a list box. In the script, how can I pull out just the month and convert it to just display NOV for the above date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 21:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291898#M403796</guid>
      <dc:creator>evansabres</dc:creator>
      <dc:date>2017-02-16T21:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Month in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291899#M403797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Date(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Event Date Time]&lt;/SPAN&gt;,'MMM')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 21:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291899#M403797</guid>
      <dc:creator>aarkay29</dc:creator>
      <dc:date>2017-02-16T21:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Month in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291900#M403798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I enter this in my script I get errors and I cannot reload. Am I missing something other than &lt;/P&gt;&lt;P&gt;MONTH([Event Date Time], 'MMM') ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 21:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291900#M403798</guid>
      <dc:creator>evansabres</dc:creator>
      <dc:date>2017-02-16T21:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Month in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291901#M403799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month([Event Date Time]) AS Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Month takes only one parameter...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 21:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291901#M403799</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-02-16T21:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Month in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291902#M403800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Evan,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the below script and use the Month field in the list box &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;"[Event Date Time]",&lt;/P&gt;&lt;P&gt;month("[Event Date Time]") as Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;********** source.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 22:02:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291902#M403800</guid>
      <dc:creator />
      <dc:date>2017-02-16T22:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Month in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291903#M403801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Event Date Time]&lt;/SPAN&gt; field is not a dual value &lt;SPAN style="font-size: 13.3333px;"&gt;already&lt;/SPAN&gt;, then you can try with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14872835556102269" jivemacro_uid="_14872835556102269"&gt;
&lt;P&gt;Month(Date#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Event Date Time]&lt;/SPAN&gt;,'MM/DD/YYYY'))&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else this expression should be sufficient:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14872835503117922 jive_text_macro" jivemacro_uid="_14872835503117922"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Month([Event Date Time])&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;hope this helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Marco&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 22:19:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291903#M403801</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-02-16T22:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Month in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291904#M403802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;!Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first thing you have to do is, to say what is the format of the date in date# function.&lt;/P&gt;&lt;P&gt;And you can use the date function to tell how the data should be shown.&lt;/P&gt;&lt;P&gt;While using Month(date()), the output will be your expected format 'Nov'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the following function.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;month(date(Date#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Event Date Time]&lt;/SPAN&gt;,'MM/DD/YYYY'))) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Event Date Time]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;from source_table_name;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached qvw for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 03:30:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291904#M403802</guid>
      <dc:creator />
      <dc:date>2017-02-17T03:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Month in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291905#M403803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try below script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Event Date Time"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/12/2016&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12/12/2016&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13/11/2016&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14/12/2016&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;Month( "Event Date Time") as NewMonth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident a;&lt;IMG alt="month.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/153454_month.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 05:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291905#M403803</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2017-02-17T05:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Month in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291906#M403804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI just say,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;month( [Event Date Time]) as Event Date Time]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It ll give u month name as NOV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 05:51:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Month-in-Script/m-p/1291906#M403804</guid>
      <dc:creator>sdmech81</dc:creator>
      <dc:date>2017-02-17T05:51:37Z</dc:date>
    </item>
  </channel>
</rss>

