<?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: Date Conversion in Loading Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Conversion-in-Loading-Script/m-p/909718#M982838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Damn....was more easier then expected....&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you guys! Is working perfeclty...&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/check.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt;Argh...I can't sign 3 right answer...I am going to flag the first one, cause it was the fastest right answer, but thank you all!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2015 09:46:44 GMT</pubDate>
    <dc:creator>marleygt</dc:creator>
    <dc:date>2015-08-04T09:46:44Z</dc:date>
    <item>
      <title>Date Conversion in Loading Script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Conversion-in-Loading-Script/m-p/909712#M982832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;I've a problem with a data format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;What I need:&lt;/STRONG&gt;&lt;/SPAN&gt; to change format in loading script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Actual format:&lt;/STRONG&gt; &lt;EM&gt;numeric&lt;/EM&gt;, i.e.:('42079')&lt;/P&gt;&lt;P&gt;Need to change in: 'DD/MM/YYYY;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the beginning of loading script I've already set this: &lt;SPAN style="color: #0000ff;"&gt;SET&lt;/SPAN&gt; &lt;EM style="color: #999999;"&gt;DateFormat=&lt;/EM&gt;'DD/MM/YYYY'; but is not working on that specific field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tryed to use lastly (cause I made some testing before posting):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Date#&lt;/SPAN&gt;(&lt;SPAN style="color: #993366;"&gt;DATDOC&lt;/SPAN&gt;,'DD/MM/YYYY') as &lt;SPAN style="color: #993366;"&gt;Data&lt;/SPAN&gt;,&amp;nbsp;&amp;nbsp; (&lt;SPAN style="color: #993366;"&gt;DATDOC&lt;/SPAN&gt; is field name from original loading file)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is not giving an error whilst loading, but date still remain in same numeric format '42xxx'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found a lot of discussion concerning date format, but no one si fitting good for my case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that if I use for instance, in a listbox properties, in number properties, "Override document settings" ad date with the needed format, is working perfectly. But I need to convert this in the loading and not locally in any listbox or instance I will create. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion for performing that? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style=": ; color: #999999;"&gt;Alex&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 09:35:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Conversion-in-Loading-Script/m-p/909712#M982832</guid>
      <dc:creator>marleygt</dc:creator>
      <dc:date>2015-08-04T09:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Date Conversion in Loading Script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Conversion-in-Loading-Script/m-p/909713#M982833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Date, without the #&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 09:37:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Conversion-in-Loading-Script/m-p/909713#M982833</guid>
      <dc:creator>puttemans</dc:creator>
      <dc:date>2015-08-04T09:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Date Conversion in Loading Script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Conversion-in-Loading-Script/m-p/909714#M982834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlikview dates are actually numeric values so there is no need to convert it. All that is missing is the formatting, so this should be sufficient:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(DATDOC) As Date,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it will be stored with the default date format and there is no need to override any doc settings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 09:39:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Conversion-in-Loading-Script/m-p/909714#M982834</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-04T09:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date Conversion in Loading Script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Conversion-in-Loading-Script/m-p/909715#M982835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is just one character to much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="color: #993366;"&gt;DATDOC&lt;/SPAN&gt;,'DD/MM/YYYY') as &lt;SPAN style="color: #993366;"&gt;Data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993366;"&gt;Data# Needs if a dateformat is different as Qlikview expects&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993366;"&gt;in your case the number is a valid date Format and you Need to tell Qlivkiew to Show as your format&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 09:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Conversion-in-Loading-Script/m-p/909715#M982835</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-04T09:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Date Conversion in Loading Script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Conversion-in-Loading-Script/m-p/909716#M982836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #993366;"&gt;DATDOC&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,'DD/MM/YYYY') as &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #993366;"&gt;Data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #993366;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #993366;"&gt;&lt;IMG alt="2015-08-04_104000.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/94912_2015-08-04_104000.png" style="height: 266px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 09:39:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Conversion-in-Loading-Script/m-p/909716#M982836</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-08-04T09:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Date Conversion in Loading Script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Conversion-in-Loading-Script/m-p/909717#M982837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex, Date#() is used to tell QV wich date format has the field wich is loading.&lt;/P&gt;&lt;P&gt;Date() (without #) is used to give format in QV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So try using Date(&lt;SPAN style="color: #0000ff;"&gt;Date#&lt;/SPAN&gt;(&lt;SPAN style="color: #993366;"&gt;DATDOC&lt;/SPAN&gt;,'DD/MM/YYYY')) as &lt;SPAN style="color: #993366;"&gt;Data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw, a date is a number internally, the format of the date is just the way to represent that number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 09:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Conversion-in-Loading-Script/m-p/909717#M982837</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-08-04T09:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Date Conversion in Loading Script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Conversion-in-Loading-Script/m-p/909718#M982838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Damn....was more easier then expected....&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you guys! Is working perfeclty...&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/check.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-size: 8pt;"&gt;Argh...I can't sign 3 right answer...I am going to flag the first one, cause it was the fastest right answer, but thank you all!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 09:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Conversion-in-Loading-Script/m-p/909718#M982838</guid>
      <dc:creator>marleygt</dc:creator>
      <dc:date>2015-08-04T09:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date Conversion in Loading Script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Conversion-in-Loading-Script/m-p/909719#M982839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Ruben for clarifying! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 09:48:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Conversion-in-Loading-Script/m-p/909719#M982839</guid>
      <dc:creator>marleygt</dc:creator>
      <dc:date>2015-08-04T09:48:03Z</dc:date>
    </item>
  </channel>
</rss>

