<?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 Today() Function in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Today-Function/m-p/302745#M64241</link>
    <description>&lt;P&gt;I'm trying to write the current datetime to my log when my program ends. I'm obviously not getting my expected result. Any ideas where I'm going wrong here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
   dt_stamp = today();
   PUT 'Progam Stopped: ' dt_stamp datetime20.;
run;

Progam Stopped:   01JAN1960:05:45:32&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 05 Oct 2016 18:11:06 GMT</pubDate>
    <dc:creator>buechler66</dc:creator>
    <dc:date>2016-10-05T18:11:06Z</dc:date>
    <item>
      <title>Today() Function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Today-Function/m-p/302745#M64241</link>
      <description>&lt;P&gt;I'm trying to write the current datetime to my log when my program ends. I'm obviously not getting my expected result. Any ideas where I'm going wrong here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
   dt_stamp = today();
   PUT 'Progam Stopped: ' dt_stamp datetime20.;
run;

Progam Stopped:   01JAN1960:05:45:32&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:11:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Today-Function/m-p/302745#M64241</guid>
      <dc:creator>buechler66</dc:creator>
      <dc:date>2016-10-05T18:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Today() Function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Today-Function/m-p/302747#M64243</link>
      <description>&lt;P&gt;Back to the future!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The TODAY() function doesn't return a date-time value.&amp;nbsp; It just returns a date.&amp;nbsp; You could switch to DATETIME() instead.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:15:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Today-Function/m-p/302747#M64243</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-10-05T18:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Today() Function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Today-Function/m-p/302750#M64245</link>
      <description>&lt;P&gt;That worked for me. &amp;nbsp;Thanks very much.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 18:36:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Today-Function/m-p/302750#M64245</guid>
      <dc:creator>buechler66</dc:creator>
      <dc:date>2016-10-05T18:36:32Z</dc:date>
    </item>
  </channel>
</rss>

