<?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: Issues converting date from a downloaded .csv in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Issues-converting-date-from-a-downloaded-csv/m-p/2017148#M83997</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;timestamp#(date(date#(subfield('01-Dec-2022 08:00',' '),'DD-MMM-YYYY'),'DD/MM/YYYY')&amp;amp;' '&amp;amp;Time(time#(right('01-Dec-2022 08:00',5),'hh:mm'),'hh:mm'),'DD/MM/YYYY HH:MM')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;should give :&lt;/P&gt;
&lt;P&gt;01/12/2022 08:00&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2022 15:57:12 GMT</pubDate>
    <dc:creator>brunobertels</dc:creator>
    <dc:date>2022-12-15T15:57:12Z</dc:date>
    <item>
      <title>Issues converting date from a downloaded .csv</title>
      <link>https://community.qlik.com/t5/App-Development/Issues-converting-date-from-a-downloaded-csv/m-p/2017119#M83991</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am attempting to change the date format of a date in a .csv file downloaded from format: 01-Dec-2022 08:00 to 01/12/2022 08:00 (DD/MM/YYYY HH:MM)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have tried a few different conversations but cannot convert - to /&lt;/P&gt;
&lt;P&gt;Below is the script I am using in Qlikview:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LOAD &lt;BR /&gt;&lt;BR /&gt;date#(date, 'DD/MM/YYYY HH:MM') as [Date],&lt;BR /&gt;&lt;BR /&gt;rain, &lt;BR /&gt;temp, &lt;BR /&gt;&lt;BR /&gt;wetb, &lt;BR /&gt;dewpt, &lt;BR /&gt;vappr, &lt;BR /&gt;rhum, &lt;BR /&gt;msl as 'Mean Sea Level Pressure hPa', &lt;BR /&gt;&lt;BR /&gt;wdsp, &lt;BR /&gt;&lt;BR /&gt;wddir&lt;BR /&gt;FROM&lt;BR /&gt;[&lt;A href="https://cli.fusio.net/cli/climate_data/webdata/hly1875.csv" target="_blank" rel="noopener"&gt;https://cli.fusio.net/cli/climate_data/webdata/hly1875.csv&lt;/A&gt;]&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq, header is 17 lines);&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 15:19:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issues-converting-date-from-a-downloaded-csv/m-p/2017119#M83991</guid>
      <dc:creator>__dec___</dc:creator>
      <dc:date>2022-12-15T15:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Issues converting date from a downloaded .csv</title>
      <link>https://community.qlik.com/t5/App-Development/Issues-converting-date-from-a-downloaded-csv/m-p/2017137#M83994</link>
      <description>&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;TimeStamp(TimeStamp#(date, 'DD-MMM-YYYY hh:mm'),'DD/MM/YYYY hh:mm') as TimeStamp,&lt;BR /&gt;Date(Floor(TimeStamp#(date, 'DD-MMM-YYYY hh:mm')),'DD/MM/YYYY') as Date,&lt;/P&gt;&lt;P&gt;See also&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Design/The-Date-Function/ba-p/1463157" target="_blank"&gt;https://community.qlik.com/t5/Design/The-Date-Function/ba-p/1463157&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 15:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issues-converting-date-from-a-downloaded-csv/m-p/2017137#M83994</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2022-12-15T15:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issues converting date from a downloaded .csv</title>
      <link>https://community.qlik.com/t5/App-Development/Issues-converting-date-from-a-downloaded-csv/m-p/2017146#M83995</link>
      <description>&lt;P&gt;That is exactly what I needed. Thanks a lot for the help!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 15:51:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issues-converting-date-from-a-downloaded-csv/m-p/2017146#M83995</guid>
      <dc:creator>__dec___</dc:creator>
      <dc:date>2022-12-15T15:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issues converting date from a downloaded .csv</title>
      <link>https://community.qlik.com/t5/App-Development/Issues-converting-date-from-a-downloaded-csv/m-p/2017148#M83997</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;timestamp#(date(date#(subfield('01-Dec-2022 08:00',' '),'DD-MMM-YYYY'),'DD/MM/YYYY')&amp;amp;' '&amp;amp;Time(time#(right('01-Dec-2022 08:00',5),'hh:mm'),'hh:mm'),'DD/MM/YYYY HH:MM')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;should give :&lt;/P&gt;
&lt;P&gt;01/12/2022 08:00&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 15:57:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issues-converting-date-from-a-downloaded-csv/m-p/2017148#M83997</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2022-12-15T15:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Issues converting date from a downloaded .csv</title>
      <link>https://community.qlik.com/t5/App-Development/Issues-converting-date-from-a-downloaded-csv/m-p/2017296#M84006</link>
      <description>&lt;P&gt;Instead, this is due to the way Excel and other spreadsheet programs open a CSV file and display the data therein. Basically, spreadsheet programs are designed to be used for calculation purposes, so they tend to apply mathematical formats to numbers when the CSV file is opened directly into the program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Diana&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 07:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Issues-converting-date-from-a-downloaded-csv/m-p/2017296#M84006</guid>
      <dc:creator>Dianah</dc:creator>
      <dc:date>2022-12-16T07:17:53Z</dc:date>
    </item>
  </channel>
</rss>

