<?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: Convert a date into months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285116#M847948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are right sunny..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Mar 2017 11:25:36 GMT</pubDate>
    <dc:creator>stonecold111</dc:creator>
    <dc:date>2017-03-27T11:25:36Z</dc:date>
    <item>
      <title>Convert a date into months</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285112#M847944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm importing one of the .csv file into QlikView. The data source contains one column in format " 3/21/2016 12:00:00 AM" but I want only month from the mentioned date. I'm using month() function to fetch only months and that I am using every time but it didn't work. Could any one please tell me what may be reason that month function is not working.&lt;/P&gt;&lt;P&gt;below is the script I'm using -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//WorkCenter_Operation_Desc_Op_No_Key &amp;amp; '-' &amp;amp; SHOP_ORDER &amp;amp; '-' &amp;amp; Num([End Date]) AS CompositeKey,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//WorkCenter_Operation_Desc_Op_No_Key, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//SHOP_ORDER, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp; Month(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[End Date]) as Month1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[LT(hrs)]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//[$(vExcel_Folder)\ChartData.csv]&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;txt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;utf8&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;delimiter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ',', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;msq&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, filters(&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Remove&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Row&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Pos&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Top&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 2))&lt;BR /&gt; )); &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285112#M847944</guid>
      <dc:creator>mahendragaur</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a date into months</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285113#M847945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month(Date#([End Date], 'M/D/YYYY h:mm:ss TT')) as Month1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, check these links out&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2622"&gt;Get the Dates Right&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-3102"&gt;QlikView Date fields&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285113#M847945</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-27T11:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a date into months</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285114#M847946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;date([End Date],'MM') as month &lt;/P&gt;&lt;P&gt;try this. if it don't work&lt;/P&gt;&lt;P&gt;try this one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(timestamp#(&lt;SPAN style="font-size: 13.3333px;"&gt;[End Date]&lt;/SPAN&gt;,'DD/MM/YYYY hh:mm:ss TT'),'MM')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:18:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285114#M847946</guid>
      <dc:creator>stonecold111</dc:creator>
      <dc:date>2017-03-27T11:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a date into months</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285115#M847947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't recommend doing that, because this will only display as a date, but will have an underlying date value. So in a list box, this might show 5 31 times if there is a date for each of the days in the month of May.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285115#M847947</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-27T11:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a date into months</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285116#M847948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are right sunny..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285116#M847948</guid>
      <dc:creator>stonecold111</dc:creator>
      <dc:date>2017-03-27T11:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a date into months</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285117#M847949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;shall we use date# in place of timestamp#&amp;nbsp; ????&lt;/P&gt;&lt;P&gt;as it is in timestamp format.. just for clarification&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:27:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285117#M847949</guid>
      <dc:creator>stonecold111</dc:creator>
      <dc:date>2017-03-27T11:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a date into months</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285118#M847950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Date#() or TimeStamp#() should both work... but TimeStamp#() will be more informative &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285118#M847950</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-27T11:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a date into months</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285119#M847951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;informative means in what way??? then why we need timestamp#&amp;nbsp; when date# can do the same thing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285119#M847951</guid>
      <dc:creator>stonecold111</dc:creator>
      <dc:date>2017-03-27T11:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a date into months</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285120#M847952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no such difference in both function You can use which ever you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See Henric reply on below thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/745646"&gt;date() vs timestamp()&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:33:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285120#M847952</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-03-27T11:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a date into months</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285121#M847953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When a new developer or non-developer (with limited knowledge of QlikView) see TimeStamp vs Date... he will have an easier time understanding TimeStamp as a timestamp and date as a date... so for somebody who doesn't know, it might make sense to use TimeStamp#().&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;then why we need timestamp#&amp;nbsp; when date# can do the same thing&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I don't know, do you want to go ahead and send an email to Qlik asking them why they made Date#() and TimeStamp#() interchangeably usable? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285121#M847953</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-27T11:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a date into months</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285122#M847954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp; thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:36:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285122#M847954</guid>
      <dc:creator>stonecold111</dc:creator>
      <dc:date>2017-03-27T11:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a date into months</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285123#M847955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny.. Perfect answer. It worked &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/devil.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:45:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285123#M847955</guid>
      <dc:creator>mahendragaur</dc:creator>
      <dc:date>2017-03-27T11:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Convert a date into months</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285124#M847956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;plz make sunny's as correct answer as it would help others&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-a-date-into-months/m-p/1285124#M847956</guid>
      <dc:creator>stonecold111</dc:creator>
      <dc:date>2017-03-27T11:48:49Z</dc:date>
    </item>
  </channel>
</rss>

