<?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: Changing the date format in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Changing-the-date-format/m-p/877666#M38967</link>
    <description>&lt;P&gt;After you use the datepart function, assign format mmddyys10.&lt;/P&gt;</description>
    <pubDate>Fri, 26 May 2023 10:16:24 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2023-05-26T10:16:24Z</dc:date>
    <item>
      <title>Changing the date format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Changing-the-date-format/m-p/877665#M38966</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have a data set which had date format 01/12/2000:00:00:00. I want to change it to 01/12/2000 format. I used the datepart function but the date I am getting is now in 01DEC2000 format. Can you suggest how to get the output in 01/12/2000 format?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc sql;
create table Linked_for_CF as 
select debt_code as accountnumber, 
 AddressLine1, 
AddressLine2, 
AddressLine3, 
AddressLine4, 
Postcode, 
Title, 
Forename, 
Surname,
Datepart (Dr_DOB) format date9. as Dateofbirth 
from Linked_acc;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 May 2023 10:14:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Changing-the-date-format/m-p/877665#M38966</guid>
      <dc:creator>Sandeep77</dc:creator>
      <dc:date>2023-05-26T10:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the date format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Changing-the-date-format/m-p/877666#M38967</link>
      <description>&lt;P&gt;After you use the datepart function, assign format mmddyys10.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 10:16:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Changing-the-date-format/m-p/877666#M38967</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-05-26T10:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the date format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Changing-the-date-format/m-p/877667#M38968</link>
      <description>Thank you. It worked. I actually wanted it in ddmmyys10. format. Thanks again.</description>
      <pubDate>Fri, 26 May 2023 10:19:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Changing-the-date-format/m-p/877667#M38968</guid>
      <dc:creator>Sandeep77</dc:creator>
      <dc:date>2023-05-26T10:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the date format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Changing-the-date-format/m-p/877670#M38969</link>
      <description>&lt;P&gt;Adding ... don't assign it format DATE9. if you want some other format.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 10:28:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Changing-the-date-format/m-p/877670#M38969</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-05-26T10:28:07Z</dc:date>
    </item>
  </channel>
</rss>

