<?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 Two different date formats in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Two-different-date-formats/m-p/1153204#M376609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone please help on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came across this question in one of the project interview:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a column A with two different date formats 'MM/DD/YYYY' and 'DD/MM/YYYY' loaded and the final output is one format 'YYYY/DD/MM'. How to solve this without using alt function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we use something like Date(Date#(Date#(A,'MM/DD/YYYY'),'DD/MM/YYYY'),'YYYY/DD/MM')?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Aug 2016 02:56:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-23T02:56:55Z</dc:date>
    <item>
      <title>Two different date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Two-different-date-formats/m-p/1153204#M376609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone please help on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came across this question in one of the project interview:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a column A with two different date formats 'MM/DD/YYYY' and 'DD/MM/YYYY' loaded and the final output is one format 'YYYY/DD/MM'. How to solve this without using alt function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we use something like Date(Date#(Date#(A,'MM/DD/YYYY'),'DD/MM/YYYY'),'YYYY/DD/MM')?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 02:56:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-different-date-formats/m-p/1153204#M376609</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-23T02:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Two different date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Two-different-date-formats/m-p/1153205#M376610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Date#(A),'yyyy/dd/mm')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 03:19:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-different-date-formats/m-p/1153205#M376610</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-23T03:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Two different date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Two-different-date-formats/m-p/1153206#M376611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Floor(ColumnA), 'YYYY/DD/MM')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 03:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-different-date-formats/m-p/1153206#M376611</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-08-23T03:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Two different date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Two-different-date-formats/m-p/1153207#M376612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&amp;nbsp; below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;alt( date#( A , '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;MM/DD/YYYY&lt;/SPAN&gt;' )&lt;BR /&gt; date#( A , '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;DD/MM/YYYY&lt;/SPAN&gt;' )&lt;BR /&gt; ,'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;YYYY/DD/MM&lt;/SPAN&gt;' )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 05:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-different-date-formats/m-p/1153207#M376612</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-08-23T05:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Two different date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Two-different-date-formats/m-p/1153208#M376613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Can we use something like Date(Date#(Date#(A,'MM/DD/YYYY'),'DD/MM/YYYY'),'YYYY/DD/MM')?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No you can't. Alt is the correct way to solve this problem - Its a more complicated problem if you don't want to use Alt, so why would you want to avoid it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Date(Alt(Date#(A,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; 'MM/DD/YYYY'), Date#('DD/MM/YYYY')))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the order if you want DMY to take precedence over MDY for ambiguous dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 05:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-different-date-formats/m-p/1153208#M376613</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-08-23T05:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Two different date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Two-different-date-formats/m-p/1153209#M376614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe you can also use RangeMax or RangeMin instead of Alt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 06:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-different-date-formats/m-p/1153209#M376614</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-08-23T06:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Two different date formats</title>
      <link>https://community.qlik.com/t5/QlikView/Two-different-date-formats/m-p/1153210#M376615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;T1:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Dates&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;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; Book2.xlsx&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Sheet1);&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&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;Dates&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'YYYY/DD/MM') &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;FormattedDates&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; T1;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 06:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Two-different-date-formats/m-p/1153210#M376615</guid>
      <dc:creator>ramchalla</dc:creator>
      <dc:date>2016-08-23T06:15:02Z</dc:date>
    </item>
  </channel>
</rss>

