<?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: Create a Date into the script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-Date-into-the-script/m-p/1172681#M381047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(YEAR) as AsOf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will get date field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can derive year from that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;year(AsOf) as year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jun 2016 12:45:39 GMT</pubDate>
    <dc:creator>arulsettu</dc:creator>
    <dc:date>2016-06-22T12:45:39Z</dc:date>
    <item>
      <title>Create a Date into the script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Date-into-the-script/m-p/1172679#M381045</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;I would like to create a date because i only have the YEAR on my field and i would set the date 01/01/YEAR for example, and convert to integer this date into my field AsOf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;The Script:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/128843_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;The AsOf field:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/128844_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do that please ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks you in advance for your help.&lt;/P&gt;&lt;P&gt;Sébastien.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 12:41:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Date-into-the-script/m-p/1172679#M381045</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-22T12:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Date into the script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Date-into-the-script/m-p/1172680#M381046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MakeDate(YEAR,1,1) AS AsOf_Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make it a number:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Num(MakeDate(YEAR,1,1)) AS AsOf_Date&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 12:45:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Date-into-the-script/m-p/1172680#M381046</guid>
      <dc:creator>ciaran_mcgowan</dc:creator>
      <dc:date>2016-06-22T12:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Date into the script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Date-into-the-script/m-p/1172681#M381047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(YEAR) as AsOf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will get date field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you can derive year from that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;year(AsOf) as year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 12:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Date-into-the-script/m-p/1172681#M381047</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2016-06-22T12:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Date into the script</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-Date-into-the-script/m-p/1172682#M381048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot it works perfectly ! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 13:08:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-Date-into-the-script/m-p/1172682#M381048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-22T13:08:48Z</dc:date>
    </item>
  </channel>
</rss>

