<?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: Transform dates to weeks and match with other dates? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99578#M257997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alpay has pointed you to the right direction in general. While if you are doing something clinical&amp;nbsp; trial related, here is my 2 cents:&lt;/P&gt;&lt;P&gt;1. Using 'beginning' of the week to mark the onset of the treatment week may not be what you want. I would choose the real treat start date as the start date, and count 7-days intervals on top of that. Drug adversary effect is more relevant to the actually length of time being administrated. Applying to Alpay's code, using 'same' operator instead of 'beg'. Or simply use ceil((date_whatever-date_start+1)/7) to come up with the week no.&lt;/P&gt;&lt;P&gt;2. From my personal preference: if you are just doing the count, such as this scenario, using proc freq would be more efficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jul 2012 12:34:00 GMT</pubDate>
    <dc:creator>Haikuo</dc:creator>
    <dc:date>2012-07-11T12:34:00Z</dc:date>
    <item>
      <title>Transform dates to weeks and match with other dates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99575#M257994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Hi!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;I'm new to SAS and I'm struggling with a descriptive analysis that requires some knowledge about SAS dates. I hope someone here can help me:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;I have a dataset with individuals that are on medications during different time periods. They have also reported the adverse effects that they experience. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;I want to study&lt;STRONG&gt; the number of adverse effects reported for each week on medication&lt;/STRONG&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;For each individual I have a medication period (e.g. 2001-03-01 to 2001-03-28). The actual dates for the medication period varies between individuals.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;I also have variables that contain each adverse effect and it's date (e.g. 2001-03-10, one adverse effect; 2001-03-21; one adverse effect; 2001-03-27; one adverse effect etc.). If there are two adverse effects on the same day, they are reported separately on two different rows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;1. What I would like to do is transform each individual's medication period into medication weeks starting from week 1, (i.e. the first week on medication would be week no. 1, the second week on medication would be week no. 2, the third week on medication would be week no. 3 etc). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;2. Then I would like to match each reported adverse effect to it's respective week. So that I, for each individual, would get something like this: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; text-decoration: underline;"&gt;Individual 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Medication week 1: 0 adverse effect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Medication week 2: 0 adverse effects.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Medication week 3: 1 adverse effects.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Medication week 4: 1 adverse effects.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt; text-decoration: underline;"&gt;Individual 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Medication week 1: 3 adverse effect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Medication week 2: 6 adverse effects.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Medication week 3: 5 adverse effects.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Medication week 4: 0 adverse effects.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt; &lt;SPAN style="font-size: 14pt;"&gt;Medication week 5: 0 adverse effects.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Medication week 6: 0 adverse effects.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;And so on for each individual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14pt;"&gt;So, how do I convert the medication periods into weeks and how do I match the dates for the adverse effects with these weeks?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Amelie &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 13:46:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99575#M257994</guid>
      <dc:creator>axl</dc:creator>
      <dc:date>2012-07-04T13:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Transform dates to weeks and match with other dates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99576#M257995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After sorting your data by indvidual and medication date find the first day of the week for the first medication date for a given individual.&lt;/P&gt;&lt;P&gt;After that, count the number of weeks since this date for all medication dates and add 1 to the result so that first week gets a value of 1 instead of 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input indv meddate anydtdte. adveff;&lt;/P&gt;&lt;P&gt;&amp;nbsp; format meddate mmddyys10.;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;1 01012012 0&lt;/P&gt;&lt;P&gt;1 01042012 1&lt;/P&gt;&lt;P&gt;1 01072012 0&lt;/P&gt;&lt;P&gt;1 01102012 0&lt;/P&gt;&lt;P&gt;1 01142012 0&lt;/P&gt;&lt;P&gt;1 01202012 1&lt;/P&gt;&lt;P&gt;1 01262012 0&lt;/P&gt;&lt;P&gt;2 03022012 0&lt;/P&gt;&lt;P&gt;2 03042012 0&lt;/P&gt;&lt;P&gt;2 03082012 1&lt;/P&gt;&lt;P&gt;2 03122012 0&lt;/P&gt;&lt;P&gt;2 03172012 1&lt;/P&gt;&lt;P&gt;2 03172012 1&lt;/P&gt;&lt;P&gt;2 03222012 1&lt;/P&gt;&lt;P&gt;2 03272012 0&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc sort data=have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; by indv meddate;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; by indv;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if first.indv then firstmedweek = INTNX('Week',Meddate,0,'beg'); /* the beginning of the week for the first medication date for a given individual */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; retain firstmedweek; /* retain the value for firstmedweek for other observations */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; medweekcnt = INTCK('Week',firstmedweek,Meddate) + 1; /* count the number of weeks since firstmedweek for the same individual */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; drop firstmedweek;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc summary data=want nway;&lt;/P&gt;&lt;P&gt;&amp;nbsp; class indv medweekcnt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var adveff;&lt;/P&gt;&lt;P&gt;&amp;nbsp; output out=study_sum(drop=_:)&lt;/P&gt;&lt;P&gt;&amp;nbsp; sum=;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 14:18:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99576#M257995</guid>
      <dc:creator>Alpay</dc:creator>
      <dc:date>2012-07-04T14:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Transform dates to weeks and match with other dates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99577#M257996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for the answer! I will try this with my data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Amelie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 08:53:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99577#M257996</guid>
      <dc:creator>axl</dc:creator>
      <dc:date>2012-07-11T08:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Transform dates to weeks and match with other dates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99578#M257997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alpay has pointed you to the right direction in general. While if you are doing something clinical&amp;nbsp; trial related, here is my 2 cents:&lt;/P&gt;&lt;P&gt;1. Using 'beginning' of the week to mark the onset of the treatment week may not be what you want. I would choose the real treat start date as the start date, and count 7-days intervals on top of that. Drug adversary effect is more relevant to the actually length of time being administrated. Applying to Alpay's code, using 'same' operator instead of 'beg'. Or simply use ceil((date_whatever-date_start+1)/7) to come up with the week no.&lt;/P&gt;&lt;P&gt;2. From my personal preference: if you are just doing the count, such as this scenario, using proc freq would be more efficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 12:34:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99578#M257997</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-07-11T12:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Transform dates to weeks and match with other dates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99579#M257998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your advice! I started to do this but couldn't follow through as I don't have each medication date on a separate row. I think that I failed to describe my data set properly;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For medication date, I have one variable with the start date of the medication, and another variable with the end date of the medication. I also have a separate variable for each adverse effect (which is the date of the adverse effect). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each individual I have the following:&lt;/P&gt;&lt;P&gt;individual1&amp;nbsp; treatm_start_date&amp;nbsp; treatm_end_date&amp;nbsp; adverse_effect_date1&amp;nbsp;&amp;nbsp; adverse_effect_date2&amp;nbsp; adverse_effect_date3&amp;nbsp; adverse_effect_date4 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, to follow your example, I guess I would have to transform the treatment start date and the treatment end date variables somehow...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for all the questions but I'm new to SAS so this is really challenging to me :smileyconfused:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Amelie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 16:00:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99579#M257998</guid>
      <dc:creator>axl</dc:creator>
      <dc:date>2012-07-11T16:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Transform dates to weeks and match with other dates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99580#M257999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let 's stop guessing. Please post some faked sample data. A description, no matter how detailed, still could be ambiguous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 16:09:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99580#M257999</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-07-11T16:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Transform dates to weeks and match with other dates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99581#M258000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="padding: 0px 5.4pt; border: currentColor; width: 737px; table-layout: fixed;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding: 0px 5.4pt; border: 1pt solid windowtext;" valign="top" width="38"&gt;&lt;BR /&gt; &lt;P&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: windowtext windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;&lt;STRONG&gt;treatm_start&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: windowtext windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;&lt;STRONG&gt;treatm_end&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: windowtext windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;&lt;STRONG&gt;adv_eff1&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: windowtext windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;&lt;STRONG&gt;adv_eff2&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: windowtext windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;&lt;STRONG&gt;adv_eff3&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: windowtext windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;&lt;STRONG&gt;adv_eff4&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: windowtext windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;&lt;STRONG&gt;adv_eff5&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: windowtext windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;&lt;STRONG&gt;adv_eff6&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentColor windowtext windowtext; padding: 0px 5.4pt;" valign="top" width="38"&gt;&lt;BR /&gt; &lt;P&gt;1&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2008-04-09&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2010-20-20&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2008-04-11&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2008-04-11&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2008-04-13&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2008-04-17&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2008-04-30&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2008-05-01&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentColor windowtext windowtext; padding: 0px 5.4pt;" valign="top" width="38"&gt;&lt;BR /&gt; &lt;P&gt;2&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2009-11-16&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2009-12-24&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2009-12-16&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2009-12-17&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2009-12-18&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentColor windowtext windowtext; padding: 0px 5.4pt;" valign="top" width="38"&gt;&lt;BR /&gt; &lt;P&gt;3&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2005-08-17&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2010-12-28&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentColor windowtext windowtext; padding: 0px 5.4pt;" valign="top" width="38"&gt;&lt;BR /&gt; &lt;P&gt;4&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2006-12-08&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2008-01-09&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2006-12-15&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentColor windowtext windowtext; padding: 0px 5.4pt;" valign="top" width="38"&gt;&lt;BR /&gt; &lt;P&gt;5&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2008-02-20&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2010-11-26&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2008-02-28&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2008-03-01&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2008-03-10&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2008-03-12&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2008-03-14&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2008-03-14&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentColor windowtext windowtext; padding: 0px 5.4pt;" valign="top" width="38"&gt;&lt;BR /&gt; &lt;P&gt;6&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2006-12-05&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2007-09-26&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentColor windowtext windowtext; padding: 0px 5.4pt;" valign="top" width="38"&gt;&lt;BR /&gt; &lt;P&gt;7&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2008-04-02&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2008-04-02&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2008-04-02&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2008-04-02&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentColor windowtext windowtext; padding: 0px 5.4pt;" valign="top" width="38"&gt;&lt;BR /&gt; &lt;P&gt;8&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2006-10-24&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2007-03-13&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2006-10-28&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2006-10-29&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2006-11-02&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentColor windowtext windowtext; padding: 0px 5.4pt;" valign="top" width="38"&gt;&lt;BR /&gt; &lt;P&gt;9&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2006-02-06&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2007-05-03&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2006-02-10&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2006-02-10&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2006-02-10&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2006-02-13&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2006-02-17&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border-width: medium 1pt 1pt; border-style: none solid solid; border-color: currentColor windowtext windowtext; padding: 0px 5.4pt;" valign="top" width="38"&gt;&lt;BR /&gt; &lt;P&gt;10&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2007-12-27&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="95"&gt;&lt;BR /&gt; &lt;P&gt;2008-03-24&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P&gt;2007-12-27&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;TD style="border-width: medium 1pt 1pt medium; border-style: none solid solid none; border-color: currentColor windowtext windowtext currentColor; padding: 0px 5.4pt;" valign="top" width="85"&gt;&lt;BR /&gt; &lt;P align="center" style="text-align: center;"&gt;.&lt;/P&gt;&lt;BR /&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, so here's some faked sample data showing how my dataset looks like (the dots indicate that there are no adverse effects reported). I hope that this clarifies things, otherwise let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Amelie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 10:18:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99581#M258000</guid>
      <dc:creator>axl</dc:creator>
      <dc:date>2012-07-12T10:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Transform dates to weeks and match with other dates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99582#M258001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tx Amelie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need to identify the specific day like a Friday is the 6 day so it should read:&lt;/P&gt;&lt;P&gt;1= Sunday&lt;/P&gt;&lt;P&gt;2= Monday&lt;/P&gt;&lt;P&gt;3=Tuesday, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any chance you could help with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jbug&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 11:39:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99582#M258001</guid>
      <dc:creator>june_bug</dc:creator>
      <dc:date>2012-07-12T11:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Transform dates to weeks and match with other dates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99583#M258002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is something hopefully can get you started:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;infile cards truncover;&lt;/P&gt;&lt;P&gt;input ID&amp;nbsp;&amp;nbsp;&amp;nbsp; (treatm_start&amp;nbsp;&amp;nbsp;&amp;nbsp; treatm_end&amp;nbsp;&amp;nbsp;&amp;nbsp; adv_eff1&amp;nbsp;&amp;nbsp;&amp;nbsp; adv_eff2&amp;nbsp;&amp;nbsp;&amp;nbsp; adv_eff3&amp;nbsp;&amp;nbsp;&amp;nbsp; adv_eff4&amp;nbsp;&amp;nbsp;&amp;nbsp; adv_eff5&amp;nbsp;&amp;nbsp;&amp;nbsp; adv_eff6) (:mmddyy10.);&lt;/P&gt;&lt;P&gt;format&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; treatm_start&amp;nbsp;&amp;nbsp;&amp;nbsp; treatm_end&amp;nbsp;&amp;nbsp;&amp;nbsp; adv_eff1&amp;nbsp;&amp;nbsp;&amp;nbsp; adv_eff2&amp;nbsp;&amp;nbsp;&amp;nbsp; adv_eff3&amp;nbsp;&amp;nbsp;&amp;nbsp; adv_eff4&amp;nbsp;&amp;nbsp;&amp;nbsp; adv_eff5&amp;nbsp;&amp;nbsp;&amp;nbsp; adv_eff6 mmddyy10.;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/9/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 12/20/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/11/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/11/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/13/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/17/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/30/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 5/1/2008&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/16/2009&amp;nbsp;&amp;nbsp;&amp;nbsp; 12/24/2009&amp;nbsp;&amp;nbsp;&amp;nbsp; 12/16/2009&amp;nbsp;&amp;nbsp;&amp;nbsp; 12/17/2009&amp;nbsp;&amp;nbsp;&amp;nbsp; 12/18/2009&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp; 8/17/2005&amp;nbsp;&amp;nbsp;&amp;nbsp; 12/28/2010&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp; 12/8/2006&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/9/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 12/15/2006&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/20/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/26/2010&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/28/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/1/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/10/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/12/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/14/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/14/2008&lt;/P&gt;&lt;P&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp; 12/5/2006&amp;nbsp;&amp;nbsp;&amp;nbsp; 9/26/2007&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/2/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/2/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/2/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 4/2/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/24/2006&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/13/2007&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/28/2006&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/29/2006&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/2/2006&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/6/2006&amp;nbsp;&amp;nbsp;&amp;nbsp; 5/3/2007&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/10/2006&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/10/2006&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/10/2006&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/13/2006&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/17/2006&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp; 12/27/2007&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/24/2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 12/27/2007&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;set have;&lt;/P&gt;&lt;P&gt;array adv adv_eff1-adv_eff6;&lt;/P&gt;&lt;P&gt;array weekno weekno1-weekno6;&lt;/P&gt;&lt;P&gt;do i=1 to dim(adv);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; weekno(i)=ceil((adv(i)-treatm_start+1)/7);&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc transpose data=have out=have1(rename=col1=weekno drop=_name_);&lt;/P&gt;&lt;P&gt;by id;&lt;/P&gt;&lt;P&gt;var week: ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq data=have1;&lt;/P&gt;&lt;P&gt;table id*weekno /out=want (drop=percent where=(not missing (weekno)));&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 12:08:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99583#M258002</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-07-12T12:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Transform dates to weeks and match with other dates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99584#M258003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the OP wants to include weeks with zero adverse events. This can be done with a minor addition to Haikuo's code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data allweeks;&lt;/P&gt;&lt;P&gt;set have (keep=id tretm_start treatm_end);&lt;/P&gt;&lt;P&gt;maxweeks=ceil((treatm_end-treatm_start+1)/7);&lt;/P&gt;&lt;P&gt;do weekno=1 to maxweeks;&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;keep id weekno;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=allweeks;&lt;/P&gt;&lt;P&gt;by id weekno;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;proc sort data=want;&lt;/P&gt;&lt;P&gt;by id weekno;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;/* I don't think either of these PROC SORTS are actually necessary but I always like to confirm sort before merging */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;merge allweeks want;&lt;/P&gt;&lt;P&gt;by id weekno;&lt;/P&gt;&lt;P&gt;if missing(count) then count=0;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 00:58:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99584#M258003</guid>
      <dc:creator>GeoffreyBrent</dc:creator>
      <dc:date>2012-07-13T00:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Transform dates to weeks and match with other dates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99585#M258004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much, Geoffrey, Haikuo and Jbug for your helpful advice. I will try this when I get back to work and see how it goes. Again, thanks a lot! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 10:30:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transform-dates-to-weeks-and-match-with-other-dates/m-p/99585#M258004</guid>
      <dc:creator>axl</dc:creator>
      <dc:date>2012-07-13T10:30:57Z</dc:date>
    </item>
  </channel>
</rss>

