<?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: Getting the date format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-the-date-format/m-p/862753#M301943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(yourDate = Date(yourDate, 'DD-MMM-YY'), 'Y', 'N') as DateCheck&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I have not tested this and I am not entirely sure if this would work or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 May 2015 10:27:32 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-05-01T10:27:32Z</dc:date>
    <item>
      <title>Getting the date format</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-date-format/m-p/862752#M301942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An excel contains a column with values in date format. I wish to check whether the values which are present in the excel file match a particular format of 'DD-MMM-YY'. A new column DateCheck should be created which stores the result. If the column has values in the desired format, then the new column DateCheck would have values as 'Y' else it should have 'N'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Asma &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 10:23:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-date-format/m-p/862752#M301942</guid>
      <dc:creator />
      <dc:date>2015-05-01T10:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the date format</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-date-format/m-p/862753#M301943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(yourDate = Date(yourDate, 'DD-MMM-YY'), 'Y', 'N') as DateCheck&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: I have not tested this and I am not entirely sure if this would work or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 10:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-date-format/m-p/862753#M301943</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-01T10:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the date format</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-date-format/m-p/862754#M301944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.... or something like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( alt ( date#( '22-MAR-15' , 'DD-MMM-YY' ) , 0 ) &amp;gt; 0 , 'Y' , 'N' )&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as DateCheck ,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 10:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-date-format/m-p/862754#M301944</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-01T10:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the date format</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-date-format/m-p/862755#M301945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; if ( IsNum ( date#( excelfield , 'DD-MMM-YY' ) ) , 'Y' , 'N' ) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some useful help&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2622"&gt;Get the Dates Right&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 10:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-date-format/m-p/862755#M301945</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-05-01T10:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting the date format</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-the-date-format/m-p/862756#M301946</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;maybe this solution could be extended like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14304991556447454 jive_text_macro" jivemacro_uid="_14304991556447454"&gt;
&lt;P&gt;LOAD somefields,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(IsNum(Date#(excelfield, 'DD-MMM-YY')), Dual('Y',1), Dual('N',0)) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DateCheck&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FROM yourexcelfile;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in order to be able to use the DateCheck field as logical value like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(DateCheck, dothis, dothat)&lt;/P&gt;&lt;P&gt;&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>Fri, 01 May 2015 16:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-the-date-format/m-p/862756#M301946</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-05-01T16:54:12Z</dc:date>
    </item>
  </channel>
</rss>

