<?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: What function can fill   the partial date and partial datetime in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705491#M216442</link>
    <description>&lt;P&gt;No. You need to use the INTNX function to get the end date of the respective period.&lt;/P&gt;</description>
    <pubDate>Sun, 13 Dec 2020 10:02:29 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-12-13T10:02:29Z</dc:date>
    <item>
      <title>What function can fill   the partial date and partial datetime</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705265#M216307</link>
      <description>&lt;P&gt;Dears,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;I have a&amp;nbsp;partial date like "2002" ,Is there any&amp;nbsp;function that can&amp;nbsp;fill in "2002" as "2002-01-01"?&amp;nbsp; And&amp;nbsp;there are similar ones,fill in "2002-01-01T01" as "2002-01-01T01&lt;SPAN style="font-family: inherit;"&gt;:00"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 09:52:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705265#M216307</guid>
      <dc:creator>HannaZhang</dc:creator>
      <dc:date>2020-12-11T09:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: What function can fill   the partial date and partial datetime</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705267#M216308</link>
      <description>&lt;P&gt;Afaik no such function exists. You could use mdy to create a date when you have the year, only.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 09:59:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705267#M216308</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-12-11T09:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: What function can fill   the partial date and partial datetime</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705268#M216309</link>
      <description>&lt;P&gt;For the partial date question, use the&amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=vdmmlcdc&amp;amp;cdcVersion=1.0&amp;amp;docsetId=leforinforref&amp;amp;docsetTarget=n1ioae7ksqwwk2n160qkjl2nx8m6.htm&amp;amp;locale=en" target="_self"&gt;B8601DA Informat&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data _null_;
   dt1 = "2002";
   dt2 = input(dt1, B8601DA.);
   put dt2 yymmdd10.;
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the partial datetime question, use the&amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=vdmmlcdc&amp;amp;cdcVersion=1.0&amp;amp;docsetId=leforinforref&amp;amp;docsetTarget=p0cjogbxgls3b1n1ilgebgr5ewpf.htm&amp;amp;locale=en" target="_self"&gt;B8601DT informat&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data _null_;
   dt1 = "2002-01-01";
   dt2 = input(dt1, B8601DT.);
   put dt2 E8601DT.;
run;
&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Dec 2020 10:02:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705268#M216309</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2020-12-11T10:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: What function can fill   the partial date and partial datetime</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705274#M216312</link>
      <description>Your solution is very helpful  THX!</description>
      <pubDate>Fri, 11 Dec 2020 10:24:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705274#M216312</guid>
      <dc:creator>HannaZhang</dc:creator>
      <dc:date>2020-12-11T10:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: What function can fill   the partial date and partial datetime</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705275#M216313</link>
      <description>&lt;P&gt;Anytime &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 10:25:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705275#M216313</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2020-12-11T10:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: What function can fill   the partial date and partial datetime</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705276#M216314</link>
      <description>THX  , Draycut found mea way out</description>
      <pubDate>Fri, 11 Dec 2020 10:27:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705276#M216314</guid>
      <dc:creator>HannaZhang</dc:creator>
      <dc:date>2020-12-11T10:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: What function can fill   the partial date and partial datetime</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705488#M216440</link>
      <description>is there an  informat to treat '2017'  as '2017-12-31', and treat '2017-06' as '2017-06-30', , and treat '2017-05' as '2017-05-31'?</description>
      <pubDate>Sun, 13 Dec 2020 09:33:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705488#M216440</guid>
      <dc:creator>blueskyxyz</dc:creator>
      <dc:date>2020-12-13T09:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: What function can fill   the partial date and partial datetime</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705491#M216442</link>
      <description>&lt;P&gt;No. You need to use the INTNX function to get the end date of the respective period.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Dec 2020 10:02:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705491#M216442</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-13T10:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: What function can fill   the partial date and partial datetime</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705500#M216451</link>
      <description>ok, thanks, I didn't find such an informat in the book 'The Essential Guide to SAS® Dates and Times, Second Edition'. wish have one informat to impute partial date using different methods in the future...</description>
      <pubDate>Sun, 13 Dec 2020 14:52:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-function-can-fill-the-partial-date-and-partial-datetime/m-p/705500#M216451</guid>
      <dc:creator>blueskyxyz</dc:creator>
      <dc:date>2020-12-13T14:52:41Z</dc:date>
    </item>
  </channel>
</rss>

