<?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: How to get datepart from the data in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-get-datepart-from-the-data/m-p/446440#M69469</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options datestyle=mdy;
Data new;
Input sdtime anydtdtm32.;
date=datepart(sdtime);
format date date9. sdtime datetime.;
Cards;
12:03:2003:12:13:23
;
Run;
proc print;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 17 Mar 2018 12:58:52 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2018-03-17T12:58:52Z</dc:date>
    <item>
      <title>How to get datepart from the data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-get-datepart-from-the-data/m-p/446432#M69468</link>
      <description>Data new;&lt;BR /&gt;Input sdtime anydtdtm.;&lt;BR /&gt;Cards;&lt;BR /&gt;12:03:2003:12:13:23&lt;BR /&gt;;&lt;BR /&gt;Run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I need a new variable with datepart...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 17 Mar 2018 12:26:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-get-datepart-from-the-data/m-p/446432#M69468</guid>
      <dc:creator>rajeshV89</dc:creator>
      <dc:date>2018-03-17T12:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to get datepart from the data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-get-datepart-from-the-data/m-p/446440#M69469</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options datestyle=mdy;
Data new;
Input sdtime anydtdtm32.;
date=datepart(sdtime);
format date date9. sdtime datetime.;
Cards;
12:03:2003:12:13:23
;
Run;
proc print;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 17 Mar 2018 12:58:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-get-datepart-from-the-data/m-p/446440#M69469</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-03-17T12:58:52Z</dc:date>
    </item>
  </channel>
</rss>

