<?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 How to set calendar date as current months first date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-set-calendar-date-as-current-months-first-date/m-p/281065#M104565</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;You can use below code to get first date or current month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables("vFromDate")&lt;/P&gt;&lt;P&gt;v.SetContent dateserial(Year(Now()), Month(Now()), 1),true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;DJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jan 2012 09:06:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-01-17T09:06:43Z</dc:date>
    <item>
      <title>How to set calendar date as current months first date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-calendar-date-as-current-months-first-date/m-p/281064#M104564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to calendar objects by which managing start date and end date .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;everything is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirment is whenever a user presses on clear button , these two calendar objects should show &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first object : 1st date of the current month &lt;/P&gt;&lt;P&gt;2nd object : current date &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented end objects through macro&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd object :&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables("To Date")&lt;/P&gt;&lt;P&gt;v.SetContent Now(),true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know&amp;nbsp; , how to set first calendar object.&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;&lt;/P&gt;&lt;P&gt;Pramo0d Kumar&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 08:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-calendar-date-as-current-months-first-date/m-p/281064#M104564</guid>
      <dc:creator />
      <dc:date>2012-01-17T08:54:47Z</dc:date>
    </item>
    <item>
      <title>How to set calendar date as current months first date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-calendar-date-as-current-months-first-date/m-p/281065#M104565</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;You can use below code to get first date or current month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables("vFromDate")&lt;/P&gt;&lt;P&gt;v.SetContent dateserial(Year(Now()), Month(Now()), 1),true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;DJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 09:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-calendar-date-as-current-months-first-date/m-p/281065#M104565</guid>
      <dc:creator />
      <dc:date>2012-01-17T09:06:43Z</dc:date>
    </item>
    <item>
      <title>How to set calendar date as current months first date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-calendar-date-as-current-months-first-date/m-p/281066#M104566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; thanks buddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 09:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-calendar-date-as-current-months-first-date/m-p/281066#M104566</guid>
      <dc:creator />
      <dc:date>2012-01-17T09:22:28Z</dc:date>
    </item>
    <item>
      <title>How to set calendar date as current months first date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-set-calendar-date-as-current-months-first-date/m-p/281067#M104567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;apply &lt;/P&gt;&lt;P&gt;v.SetContent monthstart(today()),true&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2012 09:24:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-set-calendar-date-as-current-months-first-date/m-p/281067#M104567</guid>
      <dc:creator />
      <dc:date>2012-01-17T09:24:00Z</dc:date>
    </item>
  </channel>
</rss>

