<?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: convert date in script help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791196#M662436</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about: &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date( Date#( DAGSDATO, 'yyyy-mm-dd-hh-mm-ss-sssssss'), 'YYYY-MM-DD') as Date ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Mar 2015 10:01:37 GMT</pubDate>
    <dc:creator>puttemans</dc:creator>
    <dc:date>2015-03-12T10:01:37Z</dc:date>
    <item>
      <title>convert date in script help</title>
      <link>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791189#M662424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suddenly one of my datafields(which I cant change myself)is altered from showing the dateformat as&lt;/P&gt;&lt;P&gt;dd-mm-yyyy to showing my date as yyyy-mm-dd-hh-mm-ss-sssssssssssss&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help to make it as dd-mm-yyyy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;[DATE],&lt;/P&gt;&lt;P&gt;LEFT([DATE],10)dd-mm-yyyy as DATE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 09:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791189#M662424</guid>
      <dc:creator />
      <dc:date>2015-03-12T09:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: convert date in script help</title>
      <link>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791190#M662427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use date#() function to transform dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date#([DATE], 'YYYY-MM-DD-hh-mm-ss-sssssssssssss') as myDATETIME&lt;/P&gt;&lt;P&gt;date(date#([DATE], 'YYYY-MM-DD-hh-mm-ss-sssssssssssss'), 'YYYY-MM-DD') as myFormattedDATETIME&lt;/P&gt;&lt;P&gt;floor(date#([DATE], 'YYYY-MM-DD-hh-mm-ss-sssssssssssss')) as myDATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM TABLE1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date#() is a transforming function&lt;/P&gt;&lt;P&gt;date() is a formatting function&lt;/P&gt;&lt;P&gt;'mm' is for minutes&lt;/P&gt;&lt;P&gt;'MM' is for months&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 09:25:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791190#M662427</guid>
      <dc:creator>luciancotea</dc:creator>
      <dc:date>2015-03-12T09:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: convert date in script help</title>
      <link>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791191#M662430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached document may help you (now and in the future) &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 09:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791191#M662430</guid>
      <dc:creator>puttemans</dc:creator>
      <dc:date>2015-03-12T09:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: convert date in script help</title>
      <link>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791192#M662432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(floor(datefield),'DD-MM-YYYY') as feildname&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 09:31:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791192#M662432</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-03-12T09:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: convert date in script help</title>
      <link>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791193#M662433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash&lt;/P&gt;&lt;P&gt;does´nt work&lt;/P&gt;&lt;P&gt;My date field looks like this at present 2015-03-12 03:08:51.9470000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 09:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791193#M662433</guid>
      <dc:creator />
      <dc:date>2015-03-12T09:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: convert date in script help</title>
      <link>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791194#M662434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to transform the date to the needed format using date#() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date#(datefield,'DD-MM-YYYY') as Date_Field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do formatting directly it may lead to some interruptions later. So it always better to do transforming first and then do formatting on top based on your needs or requirements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 09:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791194#M662434</guid>
      <dc:creator />
      <dc:date>2015-03-12T09:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: convert date in script help</title>
      <link>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791195#M662435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lathaa&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[DAGSDATO]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DAGSDATO&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'DD-MM-YYYY')&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CDAGSDATO&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RESIDENT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; [VSIG];&lt;BR /&gt; this is what I tried - but it still gives me the date as yyyy-mm-dd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; the DAGSDATO field is yyyy-mm-dd formatted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;?????&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 09:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791195#M662435</guid>
      <dc:creator />
      <dc:date>2015-03-12T09:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: convert date in script help</title>
      <link>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791196#M662436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about: &lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date( Date#( DAGSDATO, 'yyyy-mm-dd-hh-mm-ss-sssssss'), 'YYYY-MM-DD') as Date ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 10:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791196#M662436</guid>
      <dc:creator>puttemans</dc:creator>
      <dc:date>2015-03-12T10:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: convert date in script help</title>
      <link>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791197#M662437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oops try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Date#(Date_field,'OriginalDateformat'),'your_neededformat') as date_field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;date(date#(&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt;DAGSDATO&lt;/SPAN&gt;, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'YYYY-MM-DD hh:mm:ss.fffffff')&lt;/SPAN&gt;),'DD-MM-YYYY') as &lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt;CDAGSDATO&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Lathaa&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 10:05:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791197#M662437</guid>
      <dc:creator />
      <dc:date>2015-03-12T10:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: convert date in script help</title>
      <link>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791198#M662439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry doesnt change to dd-mm-yyyy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 10:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791198#M662439</guid>
      <dc:creator />
      <dc:date>2015-03-12T10:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: convert date in script help</title>
      <link>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791199#M662440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ha no, my bad, I did not put the correct format.&lt;/P&gt;&lt;P&gt;Date( Date#( DAGSDATO, 'YYYY-MM-DD hh:mm:ss.fffffff'), &lt;STRONG&gt;'DD-MM-YYYY'&lt;/STRONG&gt;) as Date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 10:12:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791199#M662440</guid>
      <dc:creator>puttemans</dc:creator>
      <dc:date>2015-03-12T10:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: convert date in script help</title>
      <link>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791200#M662443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then your format is&amp;nbsp; 'YYYY-MM-DD hh:mm:ss.fffffff'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 10:16:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791200#M662443</guid>
      <dc:creator>luciancotea</dc:creator>
      <dc:date>2015-03-12T10:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: convert date in script help</title>
      <link>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791201#M662446</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;&lt;/P&gt;&lt;P&gt;with help from you all and the last from Lucian, at the top of discussion I tried this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DAGSDATO&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'YYYY-MM-DD hh:mm:ss.fffffff'), 'DD-MM-YYYY') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it worked&lt;/P&gt;&lt;P&gt;Thanx a lot all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2015 10:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/convert-date-in-script-help/m-p/791201#M662446</guid>
      <dc:creator />
      <dc:date>2015-03-12T10:21:17Z</dc:date>
    </item>
  </channel>
</rss>

