<?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/717328#M257838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it. &lt;/P&gt;&lt;P&gt;Timestamp(Date(Date#(Right(ENTRY_DATE,6),'YYMMDD'),'YYYY-MM-DD hh:mm:ss AM')) as ENTRY_TIMESTAMP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Closing the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Sep 2014 11:30:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-17T11:30:04Z</dc:date>
    <item>
      <title>Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/717319#M257829</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;I have a Date field &lt;STRONG&gt;ENTRY_DATE&lt;/STRONG&gt; coming from database in the format of 1,110,105 i.e CYYMMDD &lt;/P&gt;&lt;P&gt;i.e 1-C, 11-YY (2011), 01-MM(Jan), 05-DD&lt;/P&gt;&lt;P&gt;I want to show them as YYYY-MM-DD&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Date(Right(&lt;STRONG&gt;ENTRY_DATE,6&lt;/STRONG&gt;)) i could achieve 110105..but the Dates are not correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 10:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/717319#M257829</guid>
      <dc:creator />
      <dc:date>2014-09-17T10:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/717320#M257830</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;Use Date(Date#(Right(&lt;STRONG&gt;ENTRY_DATE,6&lt;/STRONG&gt;),'YYMMDD'),'YYYY-MM-DD')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 10:19:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/717320#M257830</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-09-17T10:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/717321#M257831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Date(Date#(Right(&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ENTRY_DATE&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;,5),'YYMMDD'),'YYYY-MM-DD') as &lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ENTRY_DATE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 10:21:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/717321#M257831</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-17T10:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/717322#M257832</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;"&gt;Thanks for the quick reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Any idea about Timestamp format with always TT as AM? Like below&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;"&gt;Timestamp(Timestamp#(Right(&lt;/SPAN&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ENTRY_DATE&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,5),'YYMMDD'),'YYYY-MM-DD &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;hh:mm:ss TT&lt;/SPAN&gt;') as &lt;STRONG style="font-style: inherit;"&gt;ENTRY_DATE?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit;"&gt;??&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 10:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/717322#M257832</guid>
      <dc:creator />
      <dc:date>2014-09-17T10:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/717323#M257833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you use&lt;/P&gt;&lt;P&gt;this expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Timestamp(Timestamp#(Right(&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ENTRY_DATE&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;,5),'YYMMDD'),'YYYY-MM-DD &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;hh:mm:ss TT&lt;/SPAN&gt;') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;But your &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Right(&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ENTRY_DATE&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;,5) &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;giving only YYMMDD formated date then&lt;/SPAN&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;"&gt;Timestamp() consider other parameter like "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;hh:mm:ss &lt;/SPAN&gt;" as "00:00:00"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and according to 00 hour, 00 min and 00 sec your TT as 'AM'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 10:38:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/717323#M257833</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-09-17T10:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/717324#M257834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=TimeStamp(TimeStamp#(Date(Date#(Right(&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ENTRY_DATE&lt;/STRONG&gt;,6),'YYMMDD')) &amp;amp; ' 00:00:00'),'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;YYYY-MM-DD&lt;/SPAN&gt; hh:mm:ss TT')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 10:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/717324#M257834</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-17T10:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/717325#M257835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dude try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Date#(Right(date,7),'YYM,MDD'),'YY-MM-DD') as date1 Resident table; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and please close the thread &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 11:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/717325#M257835</guid>
      <dc:creator />
      <dc:date>2014-09-17T11:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/717326#M257836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is another Timestamp field. where i want them as AM always no matter when you run the script.&lt;/P&gt;&lt;P&gt;Not sure why the Timestamp format is showing as A9 instead of AM for TT.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;Rest are fine though..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 11:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/717326#M257836</guid>
      <dc:creator />
      <dc:date>2014-09-17T11:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/717327#M257837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Gtripathy i think what u have selected as correct answer is not giving the exact answer what ur expecting , please try my example and compare the results &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 11:10:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/717327#M257837</guid>
      <dc:creator />
      <dc:date>2014-09-17T11:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format/m-p/717328#M257838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it. &lt;/P&gt;&lt;P&gt;Timestamp(Date(Date#(Right(ENTRY_DATE,6),'YYMMDD'),'YYYY-MM-DD hh:mm:ss AM')) as ENTRY_TIMESTAMP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Closing the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 11:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format/m-p/717328#M257838</guid>
      <dc:creator />
      <dc:date>2014-09-17T11:30:04Z</dc:date>
    </item>
  </channel>
</rss>

