<?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: Setting/changing dateformat using script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-changing-dateformat-using-script/m-p/667623#M242780</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Your_Date_Field , 'DD-MM-YYYY') as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Sep 2014 07:19:48 GMT</pubDate>
    <dc:creator>amit_saini</dc:creator>
    <dc:date>2014-09-23T07:19:48Z</dc:date>
    <item>
      <title>Setting/changing dateformat using script</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-changing-dateformat-using-script/m-p/667621#M242778</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;I have a question related to dateformat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, I have to clarify that I don't have a server solution, not does my Qlikview application have internet access.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I get my data from different spreedsheets, some with data from SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My default dateformat is ; 'DD-MM-YYYY' - and I would prefer not to change this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the files that I load to the script contains dates, but in the format 01.03.2013 (1st of march 2013).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How can I use the script so that the date gets showed as 01-03-2013 instead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 07:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-changing-dateformat-using-script/m-p/667621#M242778</guid>
      <dc:creator />
      <dc:date>2014-09-23T07:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Setting/changing dateformat using script</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-changing-dateformat-using-script/m-p/667622#M242779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;DATE(filed,'DD-MM-YYYY') as Newfeildname&lt;/P&gt;&lt;P&gt;or you can directly set in the script format&lt;/P&gt;&lt;P&gt;SET DateFormat='DD-MM-YYYY'; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 07:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-changing-dateformat-using-script/m-p/667622#M242779</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2014-09-23T07:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Setting/changing dateformat using script</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-changing-dateformat-using-script/m-p/667623#M242780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Your_Date_Field , 'DD-MM-YYYY') as Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 07:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-changing-dateformat-using-script/m-p/667623#M242780</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-09-23T07:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Setting/changing dateformat using script</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-changing-dateformat-using-script/m-p/667624#M242781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt;date(date#(excelfield, 'DD.MM.YYYY'), '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt;DD-MM-YYYY') as newfielddate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 07:21:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-changing-dateformat-using-script/m-p/667624#M242781</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-09-23T07:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Setting/changing dateformat using script</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-changing-dateformat-using-script/m-p/667625#M242782</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;Try like this&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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date(Date#(DateFieldName, 'DD.MM.YYYY')) AS FormattedDAte&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 07:22:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-changing-dateformat-using-script/m-p/667625#M242782</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-23T07:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Setting/changing dateformat using script</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-changing-dateformat-using-script/m-p/667626#M242783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First check that the date format in the SET block at the start of the script has the default date format as 'DD-MM-YYYY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(date#(your_date_field, 'DD.MM.YYYY')) as date_field &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The date formats must be uppercase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 07:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-changing-dateformat-using-script/m-p/667626#M242783</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-09-23T07:25:04Z</dc:date>
    </item>
  </channel>
</rss>

