<?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 make date in qlikview in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/make-date-in-qlikview/m-p/1827381#M15388</link>
    <description>&lt;P&gt;I extract month and year from file name&amp;nbsp;&lt;/P&gt;&lt;P&gt;Filename is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;File-June-2021.xlsx&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And i finally extract MOnth and year from this file in script&amp;nbsp;&lt;/P&gt;&lt;P&gt;now i want to extract date from filename .. like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01-06-2021&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;like every date should start from 1&amp;nbsp;&lt;/P&gt;&lt;P&gt;how i do this ?&lt;/P&gt;</description>
    <pubDate>Mon, 09 Aug 2021 08:33:41 GMT</pubDate>
    <dc:creator>capriconuser</dc:creator>
    <dc:date>2021-08-09T08:33:41Z</dc:date>
    <item>
      <title>make date in qlikview</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/make-date-in-qlikview/m-p/1827381#M15388</link>
      <description>&lt;P&gt;I extract month and year from file name&amp;nbsp;&lt;/P&gt;&lt;P&gt;Filename is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;File-June-2021.xlsx&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And i finally extract MOnth and year from this file in script&amp;nbsp;&lt;/P&gt;&lt;P&gt;now i want to extract date from filename .. like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01-06-2021&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;like every date should start from 1&amp;nbsp;&lt;/P&gt;&lt;P&gt;how i do this ?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 08:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/make-date-in-qlikview/m-p/1827381#M15388</guid>
      <dc:creator>capriconuser</dc:creator>
      <dc:date>2021-08-09T08:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: make date in qlikview</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/make-date-in-qlikview/m-p/1827399#M15389</link>
      <description>&lt;P&gt;You need to figure a way to extract the 'Month-Year' from your file. When you 've done that you can use Date#('June-2021', 'MMMM-YYYY') to intrepret the string as a date. There after you can format the date as you please using Date(). It will be something like this.&lt;/P&gt;&lt;P&gt;Date(Date#('June-2021', 'MMMM-YYYY'), 'DD-MM-YYYY')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take a look at my script image below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vegar_0-1628500259817.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/59852i0475BC2CE4032FB8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Vegar_0-1628500259817.png" alt="Vegar_0-1628500259817.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 09:11:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/make-date-in-qlikview/m-p/1827399#M15389</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2021-08-09T09:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: make date in qlikview</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/make-date-in-qlikview/m-p/1827424#M15392</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;hi i already month and year from file name like this&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;load

--

Trim(Replace(FileBaseName(),'MMailBoxUsage-','')) as MailBox_Date

from 

abc-June-2021.xlsx&lt;/LI-CODE&gt;&lt;P&gt;and i extract month and year like this&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Year(Date#(MailBox_Date,'MMMM-YYYY')) as MailBox_Year,
Month(Date#(MailBox_Date,'MMMM-YYYY')) as MailBox_Month,&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now i want to extract date..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 10:32:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/make-date-in-qlikview/m-p/1827424#M15392</guid>
      <dc:creator>capriconuser</dc:creator>
      <dc:date>2021-08-09T10:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: make date in qlikview</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/make-date-in-qlikview/m-p/1827557#M15395</link>
      <description>&lt;P&gt;If you have the month and the year value then you can create a date using &lt;A href="https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/Scripting/DateAndTimeFunctions/monthstart.htm" target="_self"&gt;makedate()&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Makedate(MailBox_Year,MailBox_Month,1) as MailBox_Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or use &lt;A href="https://help.qlik.com/en-US/qlikview/May2021/Subsystems/Client/Content/QV_QlikView/Scripting/DateAndTimeFunctions/monthstart.htm" target="_self"&gt;monthstart()&lt;/A&gt; on your date#() expression like this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Monthstart(Date#(MailBox_Date,'MMMM-YYYY')) as MailBox_Date,&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 19:07:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/make-date-in-qlikview/m-p/1827557#M15395</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2021-08-09T19:07:11Z</dc:date>
    </item>
  </channel>
</rss>

