<?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: date format in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/date-format/m-p/740511#M29074</link>
    <description>&lt;P&gt;thank you this only adds 110521 - can I add 2021&lt;/P&gt;</description>
    <pubDate>Tue, 11 May 2021 15:07:12 GMT</pubDate>
    <dc:creator>mmea</dc:creator>
    <dc:date>2021-05-11T15:07:12Z</dc:date>
    <item>
      <title>date format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/date-format/m-p/740480#M29068</link>
      <description>&lt;P&gt;How to make this dateformat in SAS&amp;nbsp; 11052021?&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 14:37:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/date-format/m-p/740480#M29068</guid>
      <dc:creator>mmea</dc:creator>
      <dc:date>2021-05-11T14:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/date-format/m-p/740490#M29069</link>
      <description>&lt;P&gt;What do you mean "make this dateformat"? Do you mean apply it to a variable?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;11052021 does not have&amp;nbsp;a clear meaning. Is it MMDDYYYY or DDMMYYYY or something else?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 14:50:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/date-format/m-p/740490#M29069</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-05-11T14:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/date-format/m-p/740498#M29070</link>
      <description>&lt;BR /&gt;data test;&lt;BR /&gt;input date;&lt;BR /&gt;cards;&lt;BR /&gt;11052021&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;data test1;&lt;BR /&gt;set test;&lt;BR /&gt;format newdate date10.;&lt;BR /&gt;newdate = input(put(date,8.),ddmmyy8.);&lt;BR /&gt;run;</description>
      <pubDate>Tue, 11 May 2021 14:57:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/date-format/m-p/740498#M29070</guid>
      <dc:creator>asuman</dc:creator>
      <dc:date>2021-05-11T14:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/date-format/m-p/740503#M29071</link>
      <description>&lt;P&gt;i need to have a date that I make in this macro. Currently it gives me 11/05/21 - but i want it to come out like 11052021&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let todaysDate = %sysfunc(today(), DDMMYY8.);
%put &amp;amp;todaysDate;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 14:59:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/date-format/m-p/740503#M29071</guid>
      <dc:creator>mmea</dc:creator>
      <dc:date>2021-05-11T14:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/date-format/m-p/740505#M29072</link>
      <description>&lt;P&gt;sorry i clicked wrong - this i not what I need - I need it as a macro so that I can put it in a file name&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 15:01:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/date-format/m-p/740505#M29072</guid>
      <dc:creator>mmea</dc:creator>
      <dc:date>2021-05-11T15:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/date-format/m-p/740508#M29073</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let todaysDate = %sysfunc(today(), DDMMYYN8.);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Please note: macro variables should not be formatted, except in rare instance, or when used in titles, labels or external file names. If you are not in one of these cases, do not format your macro variables.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Your example code should have ideally been included in your original question. You will get faster and more correct answers by being specific in your first post.&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 15:04:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/date-format/m-p/740508#M29073</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-05-11T15:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/date-format/m-p/740511#M29074</link>
      <description>&lt;P&gt;thank you this only adds 110521 - can I add 2021&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 15:07:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/date-format/m-p/740511#M29074</guid>
      <dc:creator>mmea</dc:creator>
      <dc:date>2021-05-11T15:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: date format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/date-format/m-p/740512#M29075</link>
      <description>&lt;P&gt;Sorry my bad it works&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 15:07:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/date-format/m-p/740512#M29075</guid>
      <dc:creator>mmea</dc:creator>
      <dc:date>2021-05-11T15:07:33Z</dc:date>
    </item>
  </channel>
</rss>

