<?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: one date field with two formats in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/one-date-field-with-two-formats/m-p/1806749#M65629</link>
    <description>&lt;P&gt;Both of these sound problematic even if they were written correctly - how would you know if e.g. 1/6/2021 is MM/DD or DD/MM? Either one could be correct. Is there another field that tells you which format the date is in?&lt;/P&gt;</description>
    <pubDate>Mon, 10 May 2021 20:41:39 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2021-05-10T20:41:39Z</dc:date>
    <item>
      <title>one date field with two formats</title>
      <link>https://community.qlik.com/t5/App-Development/one-date-field-with-two-formats/m-p/1806599#M65601</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;I have one date field with two date formats, here i have to convert it into one date format field,&lt;/P&gt;&lt;P&gt;tried below things but when i changed to date the string dates are become blank.&lt;/P&gt;&lt;P&gt;load&amp;nbsp; &amp;nbsp;date(string_date) as date,&amp;nbsp;&lt;/P&gt;&lt;P&gt;date(date#(string_date,'DD/MM/YYYY'),'DD/MM/YYYY') as&amp;nbsp;string_date&amp;nbsp; from table_name&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;provided the screenshot for your reference,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Date.jpg" style="width: 573px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54629iD0D95EE2830CE88C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Date.jpg" alt="Date.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuvaraj&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 21:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/one-date-field-with-two-formats/m-p/1806599#M65601</guid>
      <dc:creator>gyuvaraj</dc:creator>
      <dc:date>2021-12-21T21:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: one date field with two formats</title>
      <link>https://community.qlik.com/t5/App-Development/one-date-field-with-two-formats/m-p/1806610#M65603</link>
      <description>&lt;P&gt;It looks like your date format is actually MM/DD/YYYY?&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 13:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/one-date-field-with-two-formats/m-p/1806610#M65603</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-05-10T13:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: one date field with two formats</title>
      <link>https://community.qlik.com/t5/App-Development/one-date-field-with-two-formats/m-p/1806664#M65620</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have date with 2 different formats like&amp;nbsp;MM/DD/YYYY, DD/MM/YYYY but i tried now like&amp;nbsp;&lt;BR /&gt;Date(Date#(&lt;SPAN&gt;string_date&lt;/SPAN&gt;,'MM/DD/YYYY'), 'DD/MM/YYYY'), Date(Date#(&lt;SPAN&gt;string_date&lt;/SPAN&gt;&lt;SPAN&gt;string_date&lt;/SPAN&gt;,'DD/MM/YYYY'), 'DD/MM/YYYY') but not working as expected.&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 14:49:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/one-date-field-with-two-formats/m-p/1806664#M65620</guid>
      <dc:creator>gyuvaraj</dc:creator>
      <dc:date>2021-05-10T14:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: one date field with two formats</title>
      <link>https://community.qlik.com/t5/App-Development/one-date-field-with-two-formats/m-p/1806749#M65629</link>
      <description>&lt;P&gt;Both of these sound problematic even if they were written correctly - how would you know if e.g. 1/6/2021 is MM/DD or DD/MM? Either one could be correct. Is there another field that tells you which format the date is in?&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 20:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/one-date-field-with-two-formats/m-p/1806749#M65629</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-05-10T20:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: one date field with two formats</title>
      <link>https://community.qlik.com/t5/App-Development/one-date-field-with-two-formats/m-p/1806941#M65652</link>
      <description>&lt;P&gt;Hi, thanks for the response.&lt;/P&gt;&lt;P&gt;team confirmed now it is MM/DD and also tried with below method its shows as expected.&lt;/P&gt;&lt;DIV&gt;&lt;STRONG&gt;Date(Floor(Date#(&lt;SPAN&gt;string_date&lt;/SPAN&gt;, '&lt;STRONG&gt;MM/DD/YYYY&lt;/STRONG&gt;')), 'DD/MM/YYYY') as &lt;SPAN&gt;string_date&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 May 2021 12:33:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/one-date-field-with-two-formats/m-p/1806941#M65652</guid>
      <dc:creator>gyuvaraj</dc:creator>
      <dc:date>2021-05-11T12:33:18Z</dc:date>
    </item>
  </channel>
</rss>

