<?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: QV date time issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QV-date-time-issue/m-p/622527#M1101039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Convert new date field like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(AddMonths(Date#(date,'YYYY-MM-DD&amp;nbsp; hh:mm:ss TT'),4),'MM/YYYY') as newDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the sample example for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; date,ID,score, Date(AddMonths(Date(Left(date,10)),4),'MM/YYYY') as NewDate;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;ID, date, score&lt;/P&gt;&lt;P&gt;1, 2009-12-31 12:00:00 AM, 80&lt;/P&gt;&lt;P&gt;2, 2011-06-30 12:00:00 AM, 50&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Apr 2014 09:02:00 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2014-04-10T09:02:00Z</dc:date>
    <item>
      <title>QV date time issue</title>
      <link>https://community.qlik.com/t5/QlikView/QV-date-time-issue/m-p/622522#M1101034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a question as follows. Original I have the date variable, how to get 4 months later for each record as the new variable date1?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I asked this question before, but the issue is that now the format of the date contains time. Anyone could help? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Original table:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;THEAD style="border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;ID&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;date&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;score&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;2009-12-31 12:00:00 AM&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;80&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;2011-06-30 12:00:00 AM&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Final table&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;THEAD style="border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;ID&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;date1&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;date&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat no-repeat;" valign="middle"&gt;score&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;04/2010&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;2009-12-31 12:00:00 AM&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;80&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;2&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;10/2011&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;2011-06-30 12:00:00 AM&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 08:45:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-date-time-issue/m-p/622522#M1101034</guid>
      <dc:creator />
      <dc:date>2014-04-10T08:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: QV date time issue</title>
      <link>https://community.qlik.com/t5/QlikView/QV-date-time-issue/m-p/622523#M1101035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(AddMonths(Date#(date,&amp;nbsp; 'YYYY-MM-DD hh:mm:ss TT'),4), 'MM/YYYY') as date1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 08:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-date-time-issue/m-p/622523#M1101035</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-04-10T08:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: QV date time issue</title>
      <link>https://community.qlik.com/t5/QlikView/QV-date-time-issue/m-p/622524#M1101036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I tried this but it still doesn't work...not sure why...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 08:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-date-time-issue/m-p/622524#M1101036</guid>
      <dc:creator />
      <dc:date>2014-04-10T08:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: QV date time issue</title>
      <link>https://community.qlik.com/t5/QlikView/QV-date-time-issue/m-p/622525#M1101037</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;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;TT:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; *,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AddMonths&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,' ',1)),4),'MM/YYYY') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt;ID, date, score, &lt;BR /&gt;1, 2009-12-31 12:00:00 AM, 80 &lt;BR /&gt;2, 2011-06-30 12:00:00 AM, 50 &lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 08:55:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-date-time-issue/m-p/622525#M1101037</guid>
      <dc:creator />
      <dc:date>2014-04-10T08:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: QV date time issue</title>
      <link>https://community.qlik.com/t5/QlikView/QV-date-time-issue/m-p/622526#M1101038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should work if your date field data format is similar. Else, try to share your sample app with sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 08:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-date-time-issue/m-p/622526#M1101038</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-04-10T08:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: QV date time issue</title>
      <link>https://community.qlik.com/t5/QlikView/QV-date-time-issue/m-p/622527#M1101039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Convert new date field like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(AddMonths(Date#(date,'YYYY-MM-DD&amp;nbsp; hh:mm:ss TT'),4),'MM/YYYY') as newDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the sample example for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; date,ID,score, Date(AddMonths(Date(Left(date,10)),4),'MM/YYYY') as NewDate;&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;ID, date, score&lt;/P&gt;&lt;P&gt;1, 2009-12-31 12:00:00 AM, 80&lt;/P&gt;&lt;P&gt;2, 2011-06-30 12:00:00 AM, 50&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 09:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-date-time-issue/m-p/622527#M1101039</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-10T09:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: QV date time issue</title>
      <link>https://community.qlik.com/t5/QlikView/QV-date-time-issue/m-p/622528#M1101040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If having problem then create a new field like this also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(AddMonths(Date(Left(date,10)),4),'MM/YYYY') as NewDate;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 09:06:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-date-time-issue/m-p/622528#M1101040</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-10T09:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: QV date time issue</title>
      <link>https://community.qlik.com/t5/QlikView/QV-date-time-issue/m-p/622529#M1101041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like the others have said try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014-04-10_1009.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/56962_2014-04-10_1009.png" style="width: 620px; height: 19px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 09:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-date-time-issue/m-p/622529#M1101041</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-04-10T09:11:29Z</dc:date>
    </item>
  </channel>
</rss>

