<?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: Can DM.RFPENDTC have a partial dates? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Can-DM-RFPENDTC-have-a-partial-dates/m-p/921907#M363060</link>
    <description>DM.RFPENDTC is typically directly available in the CRF from the Subject Termination form. Are you sure this date is not captured already? Usually the Question would be “Did subject complete the study”&lt;BR /&gt;&lt;BR /&gt;If N a reason has to be selected, such as AE, Pregnancy during the study, protocol violation and so on.&lt;BR /&gt;&lt;BR /&gt;If this information is not available, you’ll have to create a temporary variable storing numeric dates representing the date of last contact. For example if a date is “2024-03” you’d have to create a temporary numeric date such that it would represent “2023-03-01” then use this temporary date to do your calculations. You can still use the partial date to populate RFPENDTC.</description>
    <pubDate>Wed, 27 Mar 2024 03:52:41 GMT</pubDate>
    <dc:creator>Mazi</dc:creator>
    <dc:date>2024-03-27T03:52:41Z</dc:date>
    <item>
      <title>Can DM.RFPENDTC have a partial dates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-DM-RFPENDTC-have-a-partial-dates/m-p/921901#M363054</link>
      <description>&lt;P&gt;Can DM.RFPENDTC have a partial dates? If yes, how do we take max of a partial dates?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 02:30:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-DM-RFPENDTC-have-a-partial-dates/m-p/921901#M363054</guid>
      <dc:creator>Vicky_SAS</dc:creator>
      <dc:date>2024-03-27T02:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can DM.RFPENDTC have a partial dates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-DM-RFPENDTC-have-a-partial-dates/m-p/921904#M363057</link>
      <description>&lt;P&gt;If this is a SAS table and the variable is numerical with a SAS Date or DateTime format attached (=how SAS stores dates) then no, because such dates are counts of days since 1/1/1960 or datetime values are counts of seconds since 1/1/1960 and such counts can't be "partial".&lt;/P&gt;
&lt;P&gt;If the variable is of type character then yes, the string could be partial and you would need to convert it to a SAS date or datetime value before you can derive the max - and if and how SAS can convert partial date strings to a SAS date value is documented (look at informats for dates and datetimes).&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 03:33:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-DM-RFPENDTC-have-a-partial-dates/m-p/921904#M363057</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2024-03-27T03:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can DM.RFPENDTC have a partial dates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-DM-RFPENDTC-have-a-partial-dates/m-p/921905#M363058</link>
      <description>&lt;P&gt;Are you talking about CDISC datasets?&lt;/P&gt;
&lt;P&gt;I think the C in the DTC suffix stands for CHARACTER.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To find the maximum or character strings in YYYY-MM-DD order you can just take the MAX() since strings in that pattern when sorted lexigraphically will also be sorted chronologically.&amp;nbsp; Note that will treat partial dates as being before any actual date in that month (or year) since spaces are less than digits.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to use some other algorithm then you will need to convert the partial dates into actual dates.&amp;nbsp; For example it is common to pick the middle of the interval.&amp;nbsp; So the 15th if the day of the month is missing.&amp;nbsp; June if the month is missing.&amp;nbsp; This could yield a different maximum than sorting the partial date strings lexigraphically.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 03:42:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-DM-RFPENDTC-have-a-partial-dates/m-p/921905#M363058</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-03-27T03:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can DM.RFPENDTC have a partial dates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-DM-RFPENDTC-have-a-partial-dates/m-p/921907#M363060</link>
      <description>DM.RFPENDTC is typically directly available in the CRF from the Subject Termination form. Are you sure this date is not captured already? Usually the Question would be “Did subject complete the study”&lt;BR /&gt;&lt;BR /&gt;If N a reason has to be selected, such as AE, Pregnancy during the study, protocol violation and so on.&lt;BR /&gt;&lt;BR /&gt;If this information is not available, you’ll have to create a temporary variable storing numeric dates representing the date of last contact. For example if a date is “2024-03” you’d have to create a temporary numeric date such that it would represent “2023-03-01” then use this temporary date to do your calculations. You can still use the partial date to populate RFPENDTC.</description>
      <pubDate>Wed, 27 Mar 2024 03:52:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-DM-RFPENDTC-have-a-partial-dates/m-p/921907#M363060</guid>
      <dc:creator>Mazi</dc:creator>
      <dc:date>2024-03-27T03:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can DM.RFPENDTC have a partial dates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-DM-RFPENDTC-have-a-partial-dates/m-p/921917#M363067</link>
      <description>I agree with this.SDTM.RFPENDTC keep partial.</description>
      <pubDate>Wed, 27 Mar 2024 06:15:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-DM-RFPENDTC-have-a-partial-dates/m-p/921917#M363067</guid>
      <dc:creator>smart_xuan</dc:creator>
      <dc:date>2024-03-27T06:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can DM.RFPENDTC have a partial dates?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-DM-RFPENDTC-have-a-partial-dates/m-p/977980#M378538</link>
      <description>I think it will depend with the nature of the study design, if the study allows collection of partial dates, then would say Yes, if it doesn't allow collection of partial dates, then raise an alarm to DM, Make sure to have this as well captured when creating define.</description>
      <pubDate>Tue, 28 Oct 2025 10:47:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-DM-RFPENDTC-have-a-partial-dates/m-p/977980#M378538</guid>
      <dc:creator>himself</dc:creator>
      <dc:date>2025-10-28T10:47:24Z</dc:date>
    </item>
  </channel>
</rss>

