<?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 Date to Month and Year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-Date-to-Month-and-Year/m-p/1151493#M895658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also read about Dates here:&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/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2016 18:08:16 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-08-08T18:08:16Z</dc:date>
    <item>
      <title>Convert Date to Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Date-to-Month-and-Year/m-p/1151490#M895655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have date column with Date format as &lt;STRONG&gt;01-01-2017&lt;/STRONG&gt;.I want to get the month and Year out of this and I tried Month(Datefield) ,Year(&lt;SPAN style="font-size: 13.3333px;"&gt;Datefield&lt;/SPAN&gt;) but it is not working.Can anyone help me here ?&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-Date-to-Month-and-Year/m-p/1151490#M895655</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Date to Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Date-to-Month-and-Year/m-p/1151491#M895656</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;Try as below:&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_14706792427572433" jivemacro_uid="_14706792427572433"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Month(Date#(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Datefield, 'DD-MM-YYYY'&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14706792503649237 jive_text_macro" jivemacro_uid="_14706792503649237"&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(Date#(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Datefield, 'DD-MM-YYYY'&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Kuba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 18:00:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Date-to-Month-and-Year/m-p/1151491#M895656</guid>
      <dc:creator />
      <dc:date>2016-08-08T18:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Date to Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Date-to-Month-and-Year/m-p/1151492#M895657</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(Date#('01-01-2017', 'DD-MM-YYYY'))&lt;/P&gt;&lt;P&gt;= Year(Date#('01-01-2017', 'DD-MM-YYYY'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 18:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Date-to-Month-and-Year/m-p/1151492#M895657</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-08-08T18:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Date to Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Date-to-Month-and-Year/m-p/1151493#M895658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also read about Dates here:&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/qlik-blogpost/2954"&gt;Why don’t my dates work?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 18:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Date-to-Month-and-Year/m-p/1151493#M895658</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-08T18:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Date to Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Date-to-Month-and-Year/m-p/1636326#M895659</link>
      <description>&lt;P&gt;date(MonthStart(date(["YOUR DATA FILED NAME"],'YYYY/MM/DD')),'MMM-YYYY')&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 19:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Date-to-Month-and-Year/m-p/1636326#M895659</guid>
      <dc:creator>Alex-Kayanga</dc:creator>
      <dc:date>2019-10-16T19:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Date to Month and Year</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-Date-to-Month-and-Year/m-p/1636383#M895660</link>
      <description>&lt;P&gt;If you need the Month and Year simultaneously in your file you can create Day,Month,Year separately in your script like this:&lt;/P&gt;&lt;P&gt;LET vToday=num(today());&lt;BR /&gt;LET vMinDate=42370;&lt;BR /&gt;LET vMaxDate=num(today());&lt;/P&gt;&lt;P&gt;// Temporary Table&lt;/P&gt;&lt;P&gt;TempCal:&lt;BR /&gt;LOAD&lt;BR /&gt;date($(vMinDate) +RowNo()) as TempDate&lt;BR /&gt;AutoGenerate&lt;BR /&gt;$(vMaxDate)-$(vMinDate);&lt;/P&gt;&lt;P&gt;//******************** MASTER CALENDAR**********************&lt;BR /&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;TempDate as TRDate,&lt;BR /&gt;&lt;BR /&gt;Year(TempDate) AS Year,&lt;BR /&gt;Month(TempDate) as Month,&lt;BR /&gt;day(TempDate) as MDay,&lt;BR /&gt;Week(TempDate) as Week,&lt;BR /&gt;WeekName(TempDate) as WeekName,&lt;BR /&gt;Date(MonthStart(TempDate),'YYYYMM') as YearMonth&lt;BR /&gt;Resident TempCal;&lt;BR /&gt;&lt;BR /&gt;DROP Table TempCal;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 04:31:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-Date-to-Month-and-Year/m-p/1636383#M895660</guid>
      <dc:creator>shamiul_islam</dc:creator>
      <dc:date>2019-10-17T04:31:51Z</dc:date>
    </item>
  </channel>
</rss>

