<?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: how to get a month from date variable in variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-a-month-from-date-variable-in-variable/m-p/437030#M108778</link>
    <description>&lt;P&gt;Show examples in the form of a datastep in future, I will guess what you have:&lt;/P&gt;
&lt;PRE&gt;data want;
  mydate="01FEB2017"d;
  month=month(mydate);
  format mydate date9.
         month monname3.;
run;&lt;/PRE&gt;</description>
    <pubDate>Wed, 14 Feb 2018 10:07:17 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2018-02-14T10:07:17Z</dc:date>
    <item>
      <title>how to get a month from date variable in variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-a-month-from-date-variable-in-variable/m-p/437029#M108777</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to know if i can get Month from date variable in a new variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example -&amp;nbsp; I want to calculate 10% bonus on salary in the month of Hire Date.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 09:43:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-a-month-from-date-variable-in-variable/m-p/437029#M108777</guid>
      <dc:creator>rasika</dc:creator>
      <dc:date>2018-02-14T09:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to get a month from date variable in variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-a-month-from-date-variable-in-variable/m-p/437030#M108778</link>
      <description>&lt;P&gt;Show examples in the form of a datastep in future, I will guess what you have:&lt;/P&gt;
&lt;PRE&gt;data want;
  mydate="01FEB2017"d;
  month=month(mydate);
  format mydate date9.
         month monname3.;
run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Feb 2018 10:07:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-a-month-from-date-variable-in-variable/m-p/437030#M108778</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-02-14T10:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to get a month from date variable in variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-a-month-from-date-variable-in-variable/m-p/437165#M108825</link>
      <description>&lt;P&gt;Thanks a lot,sure next time i will provide in detail.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 16:00:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-a-month-from-date-variable-in-variable/m-p/437165#M108825</guid>
      <dc:creator>rasika</dc:creator>
      <dc:date>2018-02-14T16:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to get a month from date variable in variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-a-month-from-date-variable-in-variable/m-p/437170#M108827</link>
      <description>&lt;P&gt;Thank you sure i will consider your suggestion.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 16:02:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-a-month-from-date-variable-in-variable/m-p/437170#M108827</guid>
      <dc:creator>rasika</dc:creator>
      <dc:date>2018-02-14T16:02:44Z</dc:date>
    </item>
  </channel>
</rss>

