<?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: Change date format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-date-format/m-p/821583#M289622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. Would I add that on the same line of code as my MakeDate or on a separate line?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2015 19:42:43 GMT</pubDate>
    <dc:creator>evansabres</dc:creator>
    <dc:date>2015-03-17T19:42:43Z</dc:date>
    <item>
      <title>Change date format</title>
      <link>https://community.qlik.com/t5/QlikView/Change-date-format/m-p/821580#M289619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field name '[Transaction Date' that is in a format of 'Jan 30, 2015, 12:00 AM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my script, using a date map, I changed the format to show as 1/30/2015 using the following script :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;MakeDate&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Mid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Transaction Date]&lt;/SPAN&gt;, 8,5), &lt;SPAN style="color: #0000ff;"&gt;ApplyMap&lt;/SPAN&gt;('MonthMap',&lt;SPAN style="color: #0000ff;"&gt;Left&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Transaction Date]&lt;/SPAN&gt;, 3)),&lt;SPAN style="color: #0000ff;"&gt;Replace&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Mid&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Transaction Date]&lt;/SPAN&gt;,4,3), ',','')) &lt;SPAN style="color: #0000ff;"&gt;AS&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Source&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I want the format to actually read as 'YYYY/MM/DD'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I alter my script to reflect this format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 17:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-date-format/m-p/821580#M289619</guid>
      <dc:creator>evansabres</dc:creator>
      <dc:date>2015-03-17T17:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change date format</title>
      <link>https://community.qlik.com/t5/QlikView/Change-date-format/m-p/821581#M289620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Makedate(Year([DATEfield]),Month([ DATEfield]),Day([ DATEfield])) as DayMonthYear,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 17:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-date-format/m-p/821581#M289620</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-03-17T17:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Change date format</title>
      <link>https://community.qlik.com/t5/QlikView/Change-date-format/m-p/821582#M289621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this should work:&lt;/P&gt;&lt;P&gt;date(date#("Transaction Date", &lt;STRONG&gt;'MMM D, YYYY, hh:mm TT'&lt;/STRONG&gt;),'&lt;STRONG&gt;YYYY/MM/DD&lt;/STRONG&gt;')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Except, I'm not sure D or DD.&amp;nbsp; If single digit days are like 9 - use D, if 09 - use DD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 18:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-date-format/m-p/821582#M289621</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T18:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Change date format</title>
      <link>https://community.qlik.com/t5/QlikView/Change-date-format/m-p/821583#M289622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. Would I add that on the same line of code as my MakeDate or on a separate line?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 19:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-date-format/m-p/821583#M289622</guid>
      <dc:creator>evansabres</dc:creator>
      <dc:date>2015-03-17T19:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Change date format</title>
      <link>https://community.qlik.com/t5/QlikView/Change-date-format/m-p/821584#M289623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's the whole line, no need for makedate():&lt;/P&gt;&lt;P&gt;date(date#("Transaction Date", 'MMM D, YYYY, hh:mm TT'),'YYYY/MM/DD') as Source&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 19:46:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-date-format/m-p/821584#M289623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T19:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change date format</title>
      <link>https://community.qlik.com/t5/QlikView/Change-date-format/m-p/821585#M289624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when I enter that as the line of code, it returns a value of -&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 19:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-date-format/m-p/821585#M289624</guid>
      <dc:creator>evansabres</dc:creator>
      <dc:date>2015-03-17T19:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Change date format</title>
      <link>https://community.qlik.com/t5/QlikView/Change-date-format/m-p/821586#M289625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached - it works. Maybe you missed something in problem description - could you please upload your file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 19:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-date-format/m-p/821586#M289625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-17T19:52:01Z</dc:date>
    </item>
  </channel>
</rss>

