<?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: Working with dates in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Working-with-dates/m-p/31130#M5977</link>
    <description>You can use MDY() function.</description>
    <pubDate>Mon, 14 Jul 2008 21:56:11 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-07-14T21:56:11Z</dc:date>
    <item>
      <title>Working with dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Working-with-dates/m-p/31129#M5976</link>
      <description>Hi guys,&lt;BR /&gt;
&lt;BR /&gt;
I was working with some clinical data where I need calculate the age from date of birth variables and current date variable.But the date of birth variable is divided into three different variables as day, month and year.How do i do this.</description>
      <pubDate>Mon, 14 Jul 2008 19:46:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Working-with-dates/m-p/31129#M5976</guid>
      <dc:creator>madhu</dc:creator>
      <dc:date>2008-07-14T19:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Working with dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Working-with-dates/m-p/31130#M5977</link>
      <description>You can use MDY() function.</description>
      <pubDate>Mon, 14 Jul 2008 21:56:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Working-with-dates/m-p/31130#M5977</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-07-14T21:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Working with dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Working-with-dates/m-p/31131#M5978</link>
      <description>suppose the 3 birth date vairables are brtyr (birth year) brtmon( birth month) and btrdat (bith date). &lt;BR /&gt;
Then just do &lt;BR /&gt;
&lt;B&gt;birth_dt=mdy(brtmon,btrdat ,brtyr);&lt;/B&gt;&lt;BR /&gt;
&lt;B&gt;age=int((today()-birth_dt)/365.25);&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
hope that helps.</description>
      <pubDate>Tue, 15 Jul 2008 08:30:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Working-with-dates/m-p/31131#M5978</guid>
      <dc:creator>SushilNayak</dc:creator>
      <dc:date>2008-07-15T08:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Working with dates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Working-with-dates/m-p/31132#M5979</link>
      <description>Thanks guys!!</description>
      <pubDate>Tue, 15 Jul 2008 20:38:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Working-with-dates/m-p/31132#M5979</guid>
      <dc:creator>madhu</dc:creator>
      <dc:date>2008-07-15T20:38:53Z</dc:date>
    </item>
  </channel>
</rss>

