<?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: Date format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/99936#M15919</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use this function&amp;nbsp; &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: blue;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: blue;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;fieldname&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: black;"&gt;, 'DD-MM-YYYY'),'YYYY-MM')&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000; font-size: 14.6667px; font-family: Calibri, sans-serif;"&gt;new filed&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Sep 2018 08:51:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-06T08:51:55Z</dc:date>
    <item>
      <title>Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/99928#M15911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have dates like below format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="T.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/212785_T.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when write the following condition in script only for few dates are converting and for remaining it is not converting. Below image for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code written in script date(MonthStart(Date#(Technical_Start_Date,'D/MM/YYYY')),'YYYY-MM') as Technical_Start_Date, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="T.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/212786_T.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me if i am missing something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 06:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/99928#M15911</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-09-06T06:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/99929#M15912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;date(MonthStart(Date#(Technical_Start_Date,'DD/MM/YYYY')),'YYYY-MM')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 06:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/99929#M15912</guid>
      <dc:creator>poojashribanger</dc:creator>
      <dc:date>2018-09-06T06:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/99930#M15913</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;You are using &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Date#(Technical_Start_Date,'D/MM/YYYY') for dates like 12/22/1993. Is everything right here?&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 06:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/99930#M15913</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2018-09-06T06:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/99931#M15914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey i think you are giving wrong format in date#&lt;/P&gt;&lt;P&gt;try tthis&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;date(MonthStart(Date#(Technical_Start_Date,'MM/DD/YYYY')),'YYYY-MM')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 06:25:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/99931#M15914</guid>
      <dc:creator>poojashribanger</dc:creator>
      <dc:date>2018-09-06T06:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/99932#M15915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;You Can try this&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;date(MonthStart(date(Date#(Technical_Start_Date,'MM/DD/YYYY'))),'YYYY-MM')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 06:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/99932#M15915</guid>
      <dc:creator>poojashribanger</dc:creator>
      <dc:date>2018-09-06T06:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/99933#M15916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;date(MonthStart(Date#(Technical_Start_Date,'M/D/YYYY')),'YYYY-MM')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 06:51:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/99933#M15916</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2018-09-06T06:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/99934#M15917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please confirm the type of&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Technical_Start_Date is it date or string?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if it is date please try below formula&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(MonthStart([Order Date],0),'YYYY-MM') as Order_month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrads,&lt;BR /&gt;Anupam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 07:12:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/99934#M15917</guid>
      <dc:creator>dx_anupam</dc:creator>
      <dc:date>2018-09-06T07:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/99935#M15918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use Alt function and do like this ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15362206280871493" jivemacro_uid="_15362206280871493" modifiedtitle="true"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Data:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD *, &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Date(Alt(Date#(Date,'DD/MM/YYYY'),Date#(Date,'MM/DD/YYYY'),Date),'YYYY-MM') as Date_T2;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/1/1950&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22/12/1993&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/1/1950&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5/1/1987&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6/30/1993&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8/26/1993&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; 12&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;/22/1993&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7/22/1985&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/1/1996&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;IMG alt="Date.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/212810_Date.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;Hirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 07:59:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/99935#M15918</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2018-09-06T07:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/99936#M15919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use this function&amp;nbsp; &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: blue;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: blue;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;fieldname&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: black;"&gt;, 'DD-MM-YYYY'),'YYYY-MM')&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000; font-size: 14.6667px; font-family: Calibri, sans-serif;"&gt;new filed&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 08:51:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/99936#M15919</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-06T08:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/99937#M15920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the format of your date field always Month/Day/Year or ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming it is Month/Day/Year and not Day/Month/Year (as you seem to want to use) then...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(MonthStart(Date#(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Technical_Start_Date&lt;/SPAN&gt;,'M/D/YYYY')),'YYYY-MM') as Technical_Start_Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is a mix of both you're not going to get there as how is QlikView supposed to know the difference between 7/1/2018 and 1/7/2018?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please supply a file of ALL the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Technical_Start_Date from your QVD BEFORE they are transformed by your expression. To me, there is not enough clear data to evaluate here.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Sep 2018 17:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/99937#M15920</guid>
      <dc:creator>johnca</dc:creator>
      <dc:date>2018-09-06T17:28:33Z</dc:date>
    </item>
  </channel>
</rss>

