<?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/TIME Return Issue in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/DATE-TIME-Return-Issue/m-p/726938#M225975</link>
    <description>&lt;P&gt;data _null_;&lt;BR /&gt;call symput('repdate',put(datetime(),datetime. -L));&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;%put repdate : &amp;amp;repdate;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Gives me:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%put repdate : &amp;amp;repdate;&lt;BR /&gt;repdate : 16MAR21:19:36:18&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well...&amp;nbsp; Thanks to&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;for his 10/17/2018 0302 hours post response to a similar question.&amp;nbsp; I was using today() which produces the date, whereas datetime() will provide the date and time, which can be formatted accordingly.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Mar 2021 23:40:40 GMT</pubDate>
    <dc:creator>hnb_matt_d</dc:creator>
    <dc:date>2021-03-16T23:40:40Z</dc:date>
    <item>
      <title>DATE/TIME Return Issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATE-TIME-Return-Issue/m-p/726936#M225974</link>
      <description>&lt;P&gt;data _null_;&lt;BR /&gt;call symput('repdate',put(today(),datetime. -L));&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%put repdate : &amp;amp;repdate;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is producing 01JAN60:06:12:35 and I need the current system date/time, if at all possible.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 23:21:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATE-TIME-Return-Issue/m-p/726936#M225974</guid>
      <dc:creator>hnb_matt_d</dc:creator>
      <dc:date>2021-03-16T23:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: DATE/TIME Return Issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATE-TIME-Return-Issue/m-p/726938#M225975</link>
      <description>&lt;P&gt;data _null_;&lt;BR /&gt;call symput('repdate',put(datetime(),datetime. -L));&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;%put repdate : &amp;amp;repdate;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Gives me:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%put repdate : &amp;amp;repdate;&lt;BR /&gt;repdate : 16MAR21:19:36:18&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well...&amp;nbsp; Thanks to&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;for his 10/17/2018 0302 hours post response to a similar question.&amp;nbsp; I was using today() which produces the date, whereas datetime() will provide the date and time, which can be formatted accordingly.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Mar 2021 23:40:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATE-TIME-Return-Issue/m-p/726938#M225975</guid>
      <dc:creator>hnb_matt_d</dc:creator>
      <dc:date>2021-03-16T23:40:40Z</dc:date>
    </item>
  </channel>
</rss>

