<?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: Datetime Format Help! in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Datetime-Format-Help/m-p/166145#M12797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried doing the simple date format, I used&lt;/P&gt;&lt;P style="color: #000000; font-size: 9pt;"&gt;28OCT2013:21:26:58.819000 (variable is called ofr_create_dt)&amp;nbsp; and if I simply put&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(ofr_creat_dt) as date1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got back a result of 19701?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Dec 2013 18:17:18 GMT</pubDate>
    <dc:creator>skidooman34</dc:creator>
    <dc:date>2013-12-09T18:17:18Z</dc:date>
    <item>
      <title>Datetime Format Help!</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Datetime-Format-Help/m-p/166143#M12795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am needing some help in changing a datetime format back to a date format. For example, I have a value of&amp;nbsp;&amp;nbsp; 28OCT2013:21:26:58.819000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I create another variable and keep only the first 9 characters, in this case 28OCT2013 ? Can I do a simple SUBSTR command?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help would be much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 17:40:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Datetime-Format-Help/m-p/166143#M12795</guid>
      <dc:creator>skidooman34</dc:creator>
      <dc:date>2013-12-06T17:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime Format Help!</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Datetime-Format-Help/m-p/166144#M12796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use the DATEPART function.&amp;nbsp; Or, simply apply a DATE format and leave the original value as is!&amp;nbsp; See:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2011/11/15/do-you-mind-if-we-dance-with-your-dates/" title="http://blogs.sas.com/content/sasdummy/2011/11/15/do-you-mind-if-we-dance-with-your-dates/"&gt;Do you mind if we dance with your DATEs (or DATETIMEs)? - The SAS Dummy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 17:50:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Datetime-Format-Help/m-p/166144#M12796</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2013-12-06T17:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime Format Help!</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Datetime-Format-Help/m-p/166145#M12797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried doing the simple date format, I used&lt;/P&gt;&lt;P style="color: #000000; font-size: 9pt;"&gt;28OCT2013:21:26:58.819000 (variable is called ofr_create_dt)&amp;nbsp; and if I simply put&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(ofr_creat_dt) as date1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got back a result of 19701?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 18:17:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Datetime-Format-Help/m-p/166145#M12797</guid>
      <dc:creator>skidooman34</dc:creator>
      <dc:date>2013-12-09T18:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Datetime Format Help!</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Datetime-Format-Help/m-p/166146#M12798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;you&amp;nbsp; then can format the date1 variable with date9. format and you get the date in a more readable format.&lt;/P&gt;&lt;P&gt;date(ofr_creat_dt) as date1&lt;/P&gt;&lt;P&gt;format date1 date9.;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Anca.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Dec 2013 18:19:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Datetime-Format-Help/m-p/166146#M12798</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2013-12-09T18:19:07Z</dc:date>
    </item>
  </channel>
</rss>

