<?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: Converting text field to date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Converting-text-field-to-date/m-p/2031135#M84932</link>
    <description>&lt;P&gt;Try this script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;//Important that your system variable LongMonthNames matches the spelling you have for your months in your excel document
SET LongMonthNames='January;February;March;April;May;June;July;August;September;October;November;December';

[Sheet1]:
LOAD
[Date_Inv],
[Date],
dayname(Date#(trim([Date_Inv]),'DD-MMMM -YYYY')) as Date_intepret
FROM [lib://Downloads/smobariki.xlsx]
(ooxml, embedded labels, table is Sheet1);

&lt;/LI-CODE&gt;
&lt;P&gt;It will give you an output like this.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vegar_0-1674912596780.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/99063iD6A6A6FEA0037A7D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vegar_0-1674912596780.png" alt="Vegar_0-1674912596780.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 28 Jan 2023 13:32:17 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2023-01-28T13:32:17Z</dc:date>
    <item>
      <title>Converting text field to date</title>
      <link>https://community.qlik.com/t5/App-Development/Converting-text-field-to-date/m-p/2031115#M84930</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have column that contains "date" written in txt format (Date_inv)&amp;nbsp; , how can I convert it to date format ?&lt;/P&gt;
&lt;P&gt;example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="smobariki_0-1674895708486.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/99056iCC25C45875758B1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="smobariki_0-1674895708486.png" alt="smobariki_0-1674895708486.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;please fine attached sample file&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Sharbel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2023 08:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Converting-text-field-to-date/m-p/2031115#M84930</guid>
      <dc:creator>Sharbel</dc:creator>
      <dc:date>2023-01-28T08:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Converting text field to date</title>
      <link>https://community.qlik.com/t5/App-Development/Converting-text-field-to-date/m-p/2031135#M84932</link>
      <description>&lt;P&gt;Try this script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="php"&gt;//Important that your system variable LongMonthNames matches the spelling you have for your months in your excel document
SET LongMonthNames='January;February;March;April;May;June;July;August;September;October;November;December';

[Sheet1]:
LOAD
[Date_Inv],
[Date],
dayname(Date#(trim([Date_Inv]),'DD-MMMM -YYYY')) as Date_intepret
FROM [lib://Downloads/smobariki.xlsx]
(ooxml, embedded labels, table is Sheet1);

&lt;/LI-CODE&gt;
&lt;P&gt;It will give you an output like this.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vegar_0-1674912596780.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/99063iD6A6A6FEA0037A7D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vegar_0-1674912596780.png" alt="Vegar_0-1674912596780.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2023 13:32:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Converting-text-field-to-date/m-p/2031135#M84932</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2023-01-28T13:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Converting text field to date</title>
      <link>https://community.qlik.com/t5/App-Development/Converting-text-field-to-date/m-p/2031144#M84934</link>
      <description>&lt;P&gt;Works Perfect!&lt;/P&gt;
&lt;P&gt;thanks Vegar&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2023 17:50:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Converting-text-field-to-date/m-p/2031144#M84934</guid>
      <dc:creator>Sharbel</dc:creator>
      <dc:date>2023-01-28T17:50:40Z</dc:date>
    </item>
  </channel>
</rss>

