<?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: is TODAYDATE() a real function or typo? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844338#M333801</link>
    <description>&lt;BLOCKQUOTE&gt;In section "Creating User-Defined Formats" it says "LIBRARY=FMTLIB", but FMTLIB is a separate option (not needed for creating formats) of the PROC FORMAT statement and not a typical value of the LIBRARY= option.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;There is no section called "&amp;nbsp;Creating&amp;nbsp;&lt;SPAN class="fontstyle0"&gt;User-Defined Formats with Variables" in the specialist prep guide. Did you mean " Displaying User-Defined Formats" on page 235?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;I just searched entire book, find result did not turn up anything with LIBRARY=FMTLIB. Perhaps you remembered wrong?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nietzsche_0-1668511469729.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77320i340049EC03A1C89F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Nietzsche_0-1668511469729.png" alt="Nietzsche_0-1668511469729.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2022 11:24:41 GMT</pubDate>
    <dc:creator>Nietzsche</dc:creator>
    <dc:date>2022-11-15T11:24:41Z</dc:date>
    <item>
      <title>is TODAYDATE() a real function or typo?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844275#M333779</link>
      <description>&lt;P&gt;Hi I am reading the specialist prep guide, on page 263, there is a TODAYDATE function, I googled it and can not find any info on it and dismissed it as one of the many errors in the book.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nietzsche_0-1668486428750.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77299i332DB3C224CE13B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Nietzsche_0-1668486428750.png" alt="Nietzsche_0-1668486428750.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;then I saw it again in the &lt;A href="https://support.sas.com/content/dam/SAS/support/en/books/data/base-syntax-ref.pdf" target="_self"&gt;official SAS syntax reference guide, along with TODAY and DATE function.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nietzsche_1-1668486588306.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77300i75C18529A411C2F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Nietzsche_1-1668486588306.png" alt="Nietzsche_1-1668486588306.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;so is like TODAYDATE() a retired function or something or just typo in two official SAS materials?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 04:36:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844275#M333779</guid>
      <dc:creator>Nietzsche</dc:creator>
      <dc:date>2022-11-15T04:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: is TODAYDATE() a real function or typo?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844301#M333787</link>
      <description>&lt;P&gt;Yes, it's either TODAY() or its alias DATE() that you can use.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 08:55:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844301#M333787</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-11-15T08:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: is TODAYDATE() a real function or typo?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844309#M333790</link>
      <description>&lt;P&gt;The functions are date() or today()&lt;/P&gt;
&lt;P&gt;There is no function todaydate() - at least not in a recent SAS version and I also can't remember having it ever used in the past.&lt;/P&gt;
&lt;P&gt;SAS is highly backward compatible. If this function ever existed then it must be a looong time/many versions ago.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can easily test what works just by trying.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Patrick_0-1668505334897.png" style="width: 579px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77310iD8953E25F6F9DCDB/image-dimensions/579x113?v=v2" width="579" height="113" role="button" title="Patrick_0-1668505334897.png" alt="Patrick_0-1668505334897.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 09:46:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844309#M333790</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2022-11-15T09:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: is TODAYDATE() a real function or typo?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844311#M333791</link>
      <description>&lt;P&gt;well did try, but I wasn't sure it is just a legacy function or something. Since what are the chances of error in two official SAS documents?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 09:45:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844311#M333791</guid>
      <dc:creator>Nietzsche</dc:creator>
      <dc:date>2022-11-15T09:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: is TODAYDATE() a real function or typo?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844314#M333792</link>
      <description>&lt;P&gt;"&lt;EM&gt;Since what are the chances of error in two official SAS documents&lt;/EM&gt;"&lt;/P&gt;
&lt;P&gt;Slim - but from the looks of it you found one.&lt;BR /&gt;&lt;BR /&gt;Suggest you raise a SAS Tech Support track so this gets fixed.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 09:49:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844314#M333792</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2022-11-15T09:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: is TODAYDATE() a real function or typo?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844330#M333796</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/431484"&gt;@Nietzsche&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Since what are the chances of error in two official SAS documents?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The document that you called "official SAS syntax reference guide" is just supplementary material to the SAS Certified Specialist Prep Guide (see&amp;nbsp;&lt;A href="https://support.sas.com/en/books.html" target="_blank"&gt;https://support.sas.com/en/books.html&lt;/A&gt;; there is also an &lt;A href="https://support.sas.com/content/dam/SAS/support/en/books/errata-base-certified.pdf" target="_blank" rel="noopener"&gt;errata document&lt;/A&gt; available), most likely created using that book, not independently. Given that there are a number of errata in the book, it's not surprising that the "syntax reference guide" has a few errors, too. Here's another one: In section "Creating User-Defined Formats" it says "LIBRARY=FMTLIB", but &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/proc/n1c16dxnndwfzyn14o1kb8a4312m.htm#n1ao4kkkhyjzbjn1swdcwm1qhkx4" target="_blank" rel="noopener"&gt;FMTLIB&lt;/A&gt; is a separate option (not needed for creating formats) of the PROC FORMAT statement and not a typical value of the LIBRARY= option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most reliable is the actual SAS documentation.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 11:02:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844330#M333796</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2022-11-15T11:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: is TODAYDATE() a real function or typo?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844338#M333801</link>
      <description>&lt;BLOCKQUOTE&gt;In section "Creating User-Defined Formats" it says "LIBRARY=FMTLIB", but FMTLIB is a separate option (not needed for creating formats) of the PROC FORMAT statement and not a typical value of the LIBRARY= option.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;There is no section called "&amp;nbsp;Creating&amp;nbsp;&lt;SPAN class="fontstyle0"&gt;User-Defined Formats with Variables" in the specialist prep guide. Did you mean " Displaying User-Defined Formats" on page 235?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;I just searched entire book, find result did not turn up anything with LIBRARY=FMTLIB. Perhaps you remembered wrong?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nietzsche_0-1668511469729.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/77320i340049EC03A1C89F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Nietzsche_0-1668511469729.png" alt="Nietzsche_0-1668511469729.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 11:24:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844338#M333801</guid>
      <dc:creator>Nietzsche</dc:creator>
      <dc:date>2022-11-15T11:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: is TODAYDATE() a real function or typo?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844339#M333802</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/431484"&gt;@Nietzsche&lt;/a&gt; you can just try this function in SAS and SAS will tell you whether or not the function exists. No need to ask here in this forum, and SAS will give you much faster answers than this forum.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 11:25:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844339#M333802</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-11-15T11:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: is TODAYDATE() a real function or typo?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844361#M333806</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/431484"&gt;@Nietzsche&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;In section "Creating User-Defined Formats" it says "LIBRARY=FMTLIB", but FMTLIB is a separate option (not needed for creating formats) of the PROC FORMAT statement and not a typical value of the LIBRARY= option.&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;There is no section called "&amp;nbsp;Creating&amp;nbsp;&lt;SPAN class="fontstyle0"&gt;User-Defined Formats with Variables" in the specialist prep guide. Did you mean " Displaying User-Defined Formats" on page 235?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No, I meant the supplementary two-page "&lt;A href="https://support.sas.com/content/dam/SAS/support/en/books/data/base-syntax-ref.pdf" target="_blank" rel="noopener"&gt;Syntax Reference Guide&lt;/A&gt;", bottom half of page 1, right column. I don't have the prep guide.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 12:14:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/is-TODAYDATE-a-real-function-or-typo/m-p/844361#M333806</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2022-11-15T12:14:52Z</dc:date>
    </item>
  </channel>
</rss>

