<?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 Macro Help in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Date-Macro-Help/m-p/270353#M53701</link>
    <description>&lt;P&gt;Q1 as normal, why does it need to be a macro? &amp;nbsp;Macro language is a text generation tool, it has no data structures or means to process data. &amp;nbsp;Base SAS is there to hold data and process it. &amp;nbsp;For instance, datastep has a function time(), which can be put into any format, and if need you can strip out any characters you need. &amp;nbsp;Simple.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 May 2016 14:27:36 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2016-05-13T14:27:36Z</dc:date>
    <item>
      <title>Date Macro Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Date-Macro-Help/m-p/270349#M53698</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to create an automated time staamp. This is what I have so far:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%LET TIME = %SYSFUNC(TIME() );&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But this isn't giving me what I need. I need 9 digits with no "." in it, for example HHMMSSSSS. Does anyone know how to do that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 14:12:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Date-Macro-Help/m-p/270349#M53698</guid>
      <dc:creator>AAWTomHanks</dc:creator>
      <dc:date>2016-05-13T14:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Date Macro Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Date-Macro-Help/m-p/270352#M53700</link>
      <description>&lt;P&gt;%sysfunc lets you specify a format as a second parameter.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 14:24:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Date-Macro-Help/m-p/270352#M53700</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-05-13T14:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Date Macro Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Date-Macro-Help/m-p/270353#M53701</link>
      <description>&lt;P&gt;Q1 as normal, why does it need to be a macro? &amp;nbsp;Macro language is a text generation tool, it has no data structures or means to process data. &amp;nbsp;Base SAS is there to hold data and process it. &amp;nbsp;For instance, datastep has a function time(), which can be put into any format, and if need you can strip out any characters you need. &amp;nbsp;Simple.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2016 14:27:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Date-Macro-Help/m-p/270353#M53701</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-05-13T14:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Date Macro Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Date-Macro-Help/m-p/270355#M53702</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4718"&gt;@AAWTomHanks﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%LET TIME = %SYSFUNC(TIME(), b8601tm9.3);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 May 2016 14:30:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Date-Macro-Help/m-p/270355#M53702</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2016-05-13T14:30:05Z</dc:date>
    </item>
  </channel>
</rss>

