<?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 date format cheat sheet? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/date-format-cheat-sheet/m-p/58788#M16527</link>
    <description>Greetings:&lt;BR /&gt;
New user here. Tired of looking up which date format to use from several sources. Does anyone know a good list of commonly used date format so I can just print out a cheatsheet? It is fun to dig for them but don't always have the time.&lt;BR /&gt;
Thanks</description>
    <pubDate>Sat, 31 Jul 2010 16:34:45 GMT</pubDate>
    <dc:creator>mnew</dc:creator>
    <dc:date>2010-07-31T16:34:45Z</dc:date>
    <item>
      <title>date format cheat sheet?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/date-format-cheat-sheet/m-p/58788#M16527</link>
      <description>Greetings:&lt;BR /&gt;
New user here. Tired of looking up which date format to use from several sources. Does anyone know a good list of commonly used date format so I can just print out a cheatsheet? It is fun to dig for them but don't always have the time.&lt;BR /&gt;
Thanks</description>
      <pubDate>Sat, 31 Jul 2010 16:34:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/date-format-cheat-sheet/m-p/58788#M16527</guid>
      <dc:creator>mnew</dc:creator>
      <dc:date>2010-07-31T16:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: date format cheat sheet?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/date-format-cheat-sheet/m-p/58789#M16528</link>
      <description>Hi:&lt;BR /&gt;
  I'm a big fan of the documentation topic "Formats by Category"&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#/documentation/cdl/en/lrdict/63026/HTML/default/a001263753.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#/documentation/cdl/en/lrdict/63026/HTML/default/a001263753.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
cynthia</description>
      <pubDate>Sat, 31 Jul 2010 18:09:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/date-format-cheat-sheet/m-p/58789#M16528</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-07-31T18:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: date format cheat sheet?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/date-format-cheat-sheet/m-p/58790#M16529</link>
      <description>Thank you. I will start from here and add some examples of formatted values.</description>
      <pubDate>Sat, 31 Jul 2010 19:35:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/date-format-cheat-sheet/m-p/58790#M16529</guid>
      <dc:creator>mnew</dc:creator>
      <dc:date>2010-07-31T19:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: date format cheat sheet?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/date-format-cheat-sheet/m-p/58791#M16530</link>
      <description>I like to refer to the "informat hunter" &lt;A href="http://listserv.uga.edu/cgi-bin/wa?A2=ind0705B&amp;amp;L=sas-l&amp;amp;P=58404" target="_blank"&gt;http://listserv.uga.edu/cgi-bin/wa?A2=ind0705B&amp;amp;L=sas-l&amp;amp;P=58404&lt;/A&gt; (which I posted to SAS-L a few years ago).&lt;BR /&gt;
It is just SAS9 data step code trialling all available formats to demonstrate how a sample of your value could be read. Easy exercise to adapt to demonstrate formats instead of informats.&lt;BR /&gt;
Rather than loop through your data, the "format hunter" loops through sashelp.vformat. &lt;BR /&gt;
The PUT() function must have its format hard-coded at compile-time, but the putN(), and inputN() fumctions allow the format to be defined at run-time, so we can get SAS to replace the cheat-sheet at &lt;A href="http://www.sascommunity.org/wiki/TS_486_Functions,_Informats,_and_Formats" target="_blank"&gt;http://www.sascommunity.org/wiki/TS_486_Functions,_Informats,_and_Formats&lt;/A&gt;  with a fully complete review of every single format/informat available in your session (including user-defined formats and informats). Vformat even provides the min and max widths valid for each format (except for user formats &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;  but )  It is a great resource&lt;BR /&gt;
 &lt;BR /&gt;
peterC</description>
      <pubDate>Fri, 06 Aug 2010 14:08:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/date-format-cheat-sheet/m-p/58791#M16530</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-08-06T14:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: date format cheat sheet?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/date-format-cheat-sheet/m-p/58792#M16531</link>
      <description>Thanks but not just for answering my specific question. I checked out the two resources you mentioned: &lt;A href="http://www.sascommunity.org" target="_blank"&gt;http://www.sascommunity.org&lt;/A&gt;  and the SAS-L....I've heard of them before yet never expected them to be useful for the very beginners. So much to learn from everywhere!</description>
      <pubDate>Fri, 06 Aug 2010 21:02:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/date-format-cheat-sheet/m-p/58792#M16531</guid>
      <dc:creator>mnew</dc:creator>
      <dc:date>2010-08-06T21:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: date format cheat sheet?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/date-format-cheat-sheet/m-p/552971#M74633</link>
      <description>&lt;P&gt;Did you ever find a cheat sheet of several most used dates and such? The list of all formats is a bit cumbersome.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2019 18:24:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/date-format-cheat-sheet/m-p/552971#M74633</guid>
      <dc:creator>bschuemann</dc:creator>
      <dc:date>2019-04-22T18:24:40Z</dc:date>
    </item>
  </channel>
</rss>

