<?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: plz cnvrt into days in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/plz-cnvrt-into-days/m-p/217600#M40089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note: All SAS date values are days since 1 Jan 1960. So they are already "days".&lt;/P&gt;&lt;P&gt;You can get day of the month with the DAY function.&lt;/P&gt;&lt;P&gt;You can get day of the year using Juldate and Mod functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Apr 2015 15:45:10 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-04-08T15:45:10Z</dc:date>
    <item>
      <title>plz cnvrt into days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/plz-cnvrt-into-days/m-p/217598#M40087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.0" style="color: #141823; font-family: helvetica, arial, 'lucida grande', sans-serif; font-size: 12px; background-color: #f6f7f8;"&gt;&lt;SPAN data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.0.$end:0:$0:0"&gt;data _null_;&lt;/SPAN&gt;&lt;BR data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.0.$end:0:$1:0" /&gt;&lt;SPAN data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.0.$end:0:$2:0"&gt;td=today();&lt;/SPAN&gt;&lt;BR data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.0.$end:0:$3:0" /&gt;&lt;SPAN data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.0.$end:0:$4:0"&gt;*td='18jul2014'd;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3" style="color: #141823; font-family: helvetica, arial, 'lucida grande', sans-serif; font-size: 12px; background-color: #f6f7f8;"&gt;&lt;SPAN data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0"&gt;&lt;BR data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$1:0" /&gt;&lt;SPAN data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$2:0"&gt;bgn_date=intnx('month',td,0,'b');&lt;/SPAN&gt;&lt;BR data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$3:0" /&gt;&lt;SPAN data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$4:0"&gt;end_date=intnx('month',bgn_date,0,'e');&lt;/SPAN&gt;&lt;BR data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$5:0" /&gt;&lt;SPAN data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$6:0"&gt;prev2mth=intnx('month',td,-2,'s');&lt;/SPAN&gt;&lt;BR data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$7:0" /&gt;&lt;SPAN data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$8:0"&gt;call symput('As_of_dte',put(td,yymmdd8.));&lt;/SPAN&gt;&lt;BR data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$9:0" /&gt;&lt;SPAN data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$10:0"&gt;call symput('As_of_dt',put(td,yymmdd10.));&lt;/SPAN&gt;&lt;BR data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$11:0" /&gt;&lt;SPAN data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$12:0"&gt;call symput('As_of_dte1',put(td-1,yymmdd8.));&lt;/SPAN&gt;&lt;BR data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$13:0" /&gt;&lt;SPAN data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$14:0"&gt;call symput('month_begin',put(bgn_dte,yymmdd10.));&lt;/SPAN&gt;&lt;BR data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$15:0" /&gt;&lt;SPAN data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$16:0"&gt;call symput('month_end',put(end_dte,yymmdd10.));&lt;/SPAN&gt;&lt;BR data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$17:0" /&gt;&lt;SPAN data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$18:0"&gt;call symput('month_stamp',put(bgn_date,yymmn6.));&lt;/SPAN&gt;&lt;BR data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$19:0" /&gt;&lt;SPAN data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$20:0"&gt;call symput('prev2mth',put(prev2mth,yymmddn8.));&lt;/SPAN&gt;&lt;BR data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$21:0" /&gt;&lt;SPAN data-reactid=".ca.1:3:1:$comment935715326493300_935787209819445:0.0.$right.0.$left.0.0.1.$comment-body.0.3.0.$end:0:$22:0"&gt;run;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 10:37:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/plz-cnvrt-into-days/m-p/217598#M40087</guid>
      <dc:creator>anitapamu2</dc:creator>
      <dc:date>2015-04-08T10:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: plz cnvrt into days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/plz-cnvrt-into-days/m-p/217599#M40088</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;Sorry, am not following.&amp;nbsp; Please provide test data, as a datastep, and required output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 10:41:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/plz-cnvrt-into-days/m-p/217599#M40088</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-04-08T10:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: plz cnvrt into days</title>
      <link>https://communities.sas.com/t5/SAS-Programming/plz-cnvrt-into-days/m-p/217600#M40089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note: All SAS date values are days since 1 Jan 1960. So they are already "days".&lt;/P&gt;&lt;P&gt;You can get day of the month with the DAY function.&lt;/P&gt;&lt;P&gt;You can get day of the year using Juldate and Mod functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 15:45:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/plz-cnvrt-into-days/m-p/217600#M40089</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-04-08T15:45:10Z</dc:date>
    </item>
  </channel>
</rss>

