<?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 String date to format date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/String-date-to-format-date/m-p/1811841#M66213</link>
    <description>&lt;P&gt;Hi, I'm new to Qlik Sense. I 'm doing a data extraction from an .xlsx in which one of the fields that I have to add is the date. The date is included in the file name but I need to convert it to a date format since it is as a string right now. I attach an example and the upload I have made.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;File: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Players_12.01.2018.xlsx&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My load:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;PLAYER,&lt;BR /&gt;POSITION as PositionPlayer,&lt;BR /&gt;TEAM as TeamPlayer,&lt;BR /&gt;Cr as CrPlayer,&lt;BR /&gt;TOT as TotalsPlayer,&lt;BR /&gt;&lt;STRONG&gt;SubField (SubField (FileName (), '_', -1), '. Xlsx', 1) as PlayerDate&lt;/STRONG&gt;&lt;BR /&gt;FROM [lib: //......./Players_*.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;</description>
    <pubDate>Mon, 31 May 2021 14:08:38 GMT</pubDate>
    <dc:creator>Kentucky</dc:creator>
    <dc:date>2021-05-31T14:08:38Z</dc:date>
    <item>
      <title>String date to format date</title>
      <link>https://community.qlik.com/t5/App-Development/String-date-to-format-date/m-p/1811841#M66213</link>
      <description>&lt;P&gt;Hi, I'm new to Qlik Sense. I 'm doing a data extraction from an .xlsx in which one of the fields that I have to add is the date. The date is included in the file name but I need to convert it to a date format since it is as a string right now. I attach an example and the upload I have made.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;File: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Players_12.01.2018.xlsx&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My load:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;PLAYER,&lt;BR /&gt;POSITION as PositionPlayer,&lt;BR /&gt;TEAM as TeamPlayer,&lt;BR /&gt;Cr as CrPlayer,&lt;BR /&gt;TOT as TotalsPlayer,&lt;BR /&gt;&lt;STRONG&gt;SubField (SubField (FileName (), '_', -1), '. Xlsx', 1) as PlayerDate&lt;/STRONG&gt;&lt;BR /&gt;FROM [lib: //......./Players_*.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 14:08:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/String-date-to-format-date/m-p/1811841#M66213</guid>
      <dc:creator>Kentucky</dc:creator>
      <dc:date>2021-05-31T14:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: String date to format date</title>
      <link>https://community.qlik.com/t5/App-Development/String-date-to-format-date/m-p/1811862#M66219</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Date(Date#(&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;SubField (SubField (FileName (), '_', -1), '. Xlsx', 1)&amp;nbsp;&lt;BR /&gt;,'MM.DD.YYYY'))&amp;nbsp;as PlayerDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-Rob&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 15:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/String-date-to-format-date/m-p/1811862#M66219</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-05-31T15:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: String date to format date</title>
      <link>https://community.qlik.com/t5/App-Development/String-date-to-format-date/m-p/1811865#M66220</link>
      <description>&lt;P&gt;Thanks a lot Rob. The format of the load is now correct &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 15:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/String-date-to-format-date/m-p/1811865#M66220</guid>
      <dc:creator>Kentucky</dc:creator>
      <dc:date>2021-05-31T15:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: String date to format date</title>
      <link>https://community.qlik.com/t5/App-Development/String-date-to-format-date/m-p/1811905#M66225</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you could also purge the file extension using the FileBaseName() function instead:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Date#(SubField(FileBaseName(),'_',-1),'DD.MM.YYYY') as PlayerDate&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;P&gt;Edit: having issues with the editor, hope the reply is accepted this time&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 19:28:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/String-date-to-format-date/m-p/1811905#M66225</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2021-05-31T19:28:18Z</dc:date>
    </item>
  </channel>
</rss>

