<?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: Reformatting of Date (DD-MMM-YYYY HH:MM) format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Reformatting-of-Date-DD-MMM-YYYY-HH-MM-format/m-p/779993#M248481</link>
    <description>&lt;P&gt;You mentioned formatting of dates, but your description of what you want is for DATETIME values (number of seconds) not DATE values (number of days).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do any of the datetime values you need to display contain actual non-zero value for the time of day component?&amp;nbsp; If not then why not just convert the values from seconds to days by using the DATEPART() function and then use the DATE11 format to display the dates in DD-MON-YYYY style?&lt;/P&gt;</description>
    <pubDate>Fri, 12 Nov 2021 15:26:08 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2021-11-12T15:26:08Z</dc:date>
    <item>
      <title>Reformatting of Date (DD-MMM-YYYY HH:MM) format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reformatting-of-Date-DD-MMM-YYYY-HH-MM-format/m-p/779932#M248449</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;How to change the&amp;nbsp;date&amp;amp;time fromat from 09SEP21:00:00:00 to&amp;nbsp;09-SEP-2021 00:00 (DD-MMM-YYYY HH:MM). Please help.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 07:10:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reformatting-of-Date-DD-MMM-YYYY-HH-MM-format/m-p/779932#M248449</guid>
      <dc:creator>1239</dc:creator>
      <dc:date>2021-11-12T07:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reformatting of Date (DD-MMM-YYYY HH:MM) format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reformatting-of-Date-DD-MMM-YYYY-HH-MM-format/m-p/779933#M248450</link>
      <description>&lt;P&gt;I don't know of such a format out-the-box.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, you can roll out your own format like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format; 
  picture dtfmt (default=20)
    other = '%0d-%b-%Y %0H:%0M' (datatype = datetime)
  ;
run;

data _null_;
   dt = '09SEP2021 00:00:0'dt;
   put dt dtfmt.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Nov 2021 07:22:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reformatting-of-Date-DD-MMM-YYYY-HH-MM-format/m-p/779933#M248450</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2021-11-12T07:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Reformatting of Date (DD-MMM-YYYY HH:MM) format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reformatting-of-Date-DD-MMM-YYYY-HH-MM-format/m-p/779993#M248481</link>
      <description>&lt;P&gt;You mentioned formatting of dates, but your description of what you want is for DATETIME values (number of seconds) not DATE values (number of days).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do any of the datetime values you need to display contain actual non-zero value for the time of day component?&amp;nbsp; If not then why not just convert the values from seconds to days by using the DATEPART() function and then use the DATE11 format to display the dates in DD-MON-YYYY style?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 15:26:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reformatting-of-Date-DD-MMM-YYYY-HH-MM-format/m-p/779993#M248481</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-11-12T15:26:08Z</dc:date>
    </item>
  </channel>
</rss>

