<?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: Multiple date formats in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/Multiple-date-formats/m-p/2042167#M1383</link>
    <description>&lt;P&gt;Maybe something like this,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If (date#(date_column, '&lt;SPAN&gt;ddmmyyyy&lt;/SPAN&gt;')='&lt;SPAN&gt;ddmmyyyy', Date(date#(date_column, 'ddmmyyyy'),&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;date(date#(date_column,'mmddyyyy'))) as Date_new_column&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;if you want to separate the two different formated dates into a different fields just use it as separately.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 25 Feb 2023 13:15:58 GMT</pubDate>
    <dc:creator>deepanshuSh</dc:creator>
    <dc:date>2023-02-25T13:15:58Z</dc:date>
    <item>
      <title>Multiple date formats</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Multiple-date-formats/m-p/2042159#M1382</link>
      <description>&lt;P&gt;Just wondering if there is any script that will help me distinguish European date format ddmmyyyy from US date format mmddyyyy? I have an excel document with a date column that contains the two formats(the column itself is formatted as general). Instead of changing excel, is there qlikview script that would allow me to create a new field containing a single format? Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2023 11:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Multiple-date-formats/m-p/2042159#M1382</guid>
      <dc:creator>peele87</dc:creator>
      <dc:date>2023-02-25T11:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple date formats</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Multiple-date-formats/m-p/2042167#M1383</link>
      <description>&lt;P&gt;Maybe something like this,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If (date#(date_column, '&lt;SPAN&gt;ddmmyyyy&lt;/SPAN&gt;')='&lt;SPAN&gt;ddmmyyyy', Date(date#(date_column, 'ddmmyyyy'),&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;date(date#(date_column,'mmddyyyy'))) as Date_new_column&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;if you want to separate the two different formated dates into a different fields just use it as separately.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2023 13:15:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Multiple-date-formats/m-p/2042167#M1383</guid>
      <dc:creator>deepanshuSh</dc:creator>
      <dc:date>2023-02-25T13:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple date formats</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Multiple-date-formats/m-p/2042175#M1384</link>
      <description>&lt;P&gt;It’s impossible. There’s no way of knowing if 02032023 is ddmmyyyy or mmddyyyy, without having more data (like country).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2023 14:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Multiple-date-formats/m-p/2042175#M1384</guid>
      <dc:creator>henrikalmen</dc:creator>
      <dc:date>2023-02-25T14:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple date formats</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Multiple-date-formats/m-p/2042185#M1385</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/45410"&gt;@henrikalmen&lt;/a&gt;&amp;nbsp;stated it is impossible given a single date value that could be interpreted either way.&amp;nbsp; However sometimes we can rely on having dates -- such as month end -- in our data that are unambiguous.&amp;nbsp; If you know that all dates in a file use the same format you can use the&amp;nbsp;unambiguous date to determine your format.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What are your date values like? Are they mixed format? If so you are probably out of luck. If a single format per file, can you be sure there will always be a date that is later than day 12?&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2023 18:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Multiple-date-formats/m-p/2042185#M1385</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2023-02-25T18:03:37Z</dc:date>
    </item>
  </channel>
</rss>

