<?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 Formatting date for p103a05.sas in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Formatting-date-for-p103a05-sas/m-p/816778#M34373</link>
    <description>&lt;P&gt;I need help with part 1 and 2 of Activity 3.05 from Lesson 3, p103a05. I'm been practicing writing the width and including appropriate decimals places for dates, but for this lesson I'm having trouble.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It says to change the width of the date format to 7, but it says to first run the following values Lon, Lat, Startdate, and Enddate then change the date format to 7. Do I write&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;proc print data=pg1.storm_summary;&lt;/DIV&gt;&lt;DIV&gt;table startdate7 and enddate7;&lt;/DIV&gt;&lt;DIV&gt;run;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the same questions for part 2 that asks to change it to 11. I'm not receiving the results the activity describes. Thank you to whoever helps me.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2022 00:08:15 GMT</pubDate>
    <dc:creator>Sassy_lady</dc:creator>
    <dc:date>2022-06-07T00:08:15Z</dc:date>
    <item>
      <title>Formatting date for p103a05.sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Formatting-date-for-p103a05-sas/m-p/816778#M34373</link>
      <description>&lt;P&gt;I need help with part 1 and 2 of Activity 3.05 from Lesson 3, p103a05. I'm been practicing writing the width and including appropriate decimals places for dates, but for this lesson I'm having trouble.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It says to change the width of the date format to 7, but it says to first run the following values Lon, Lat, Startdate, and Enddate then change the date format to 7. Do I write&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;proc print data=pg1.storm_summary;&lt;/DIV&gt;&lt;DIV&gt;table startdate7 and enddate7;&lt;/DIV&gt;&lt;DIV&gt;run;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the same questions for part 2 that asks to change it to 11. I'm not receiving the results the activity describes. Thank you to whoever helps me.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 00:08:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Formatting-date-for-p103a05-sas/m-p/816778#M34373</guid>
      <dc:creator>Sassy_lady</dc:creator>
      <dc:date>2022-06-07T00:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting date for p103a05.sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Formatting-date-for-p103a05-sas/m-p/816784#M34374</link>
      <description>To change the width of the date format you would need to change the number before the dot in the format statement. Say you have format date9. Its width is 9, so it will show today's date with 9 spaces like 06Jun2022. You can see for yourself by submitting this SAS code and checking the log:&lt;BR /&gt;data _null_;&lt;BR /&gt;    dt=today();&lt;BR /&gt;    format dt date9.;&lt;BR /&gt;    put dt ;&lt;BR /&gt;run;&lt;BR /&gt;If you would like to change the width to 7, the format would be date7. Now today's date will appear as 06Jun22.</description>
      <pubDate>Tue, 07 Jun 2022 01:28:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Formatting-date-for-p103a05-sas/m-p/816784#M34374</guid>
      <dc:creator>pink_poodle</dc:creator>
      <dc:date>2022-06-07T01:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting date for p103a05.sas</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Formatting-date-for-p103a05-sas/m-p/816785#M34375</link>
      <description>&lt;P&gt;no. the width is in the format. I showed you in bold what it should be. to change it to 11, you write date11.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc print data=pg1.storm_summary(obs=20);
	format Lat Lon 4. StartDate EndDate &lt;STRONG&gt;date7.;&lt;/STRONG&gt;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Jun 2022 01:29:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Formatting-date-for-p103a05-sas/m-p/816785#M34375</guid>
      <dc:creator>tarheel13</dc:creator>
      <dc:date>2022-06-07T01:29:34Z</dc:date>
    </item>
  </channel>
</rss>

