<?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: SAS Date and Time format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Date-and-Time-format/m-p/715538#M221024</link>
    <description>Thnak you su much, you have been always so helpful!!!</description>
    <pubDate>Sat, 30 Jan 2021 14:18:19 GMT</pubDate>
    <dc:creator>zimcom</dc:creator>
    <dc:date>2021-01-30T14:18:19Z</dc:date>
    <item>
      <title>SAS Date and Time format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Date-and-Time-format/m-p/715536#M221022</link>
      <description>&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;I want the date and time displayed as "2018-09-15T14:52:22" in my report and I found the foolowing code in SAS help, but when I tried the output still show up as "1852642342", not "2018-09-15T14:52:22".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=leforinforref&amp;amp;docsetTarget=n03vr57gdozvean1klfaaa14c9c0.htm&amp;amp;locale=en#n15bfl5myitg9xn17h1i0ju8vseo"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=leforinforref&amp;amp;docsetTarget=n03vr57gdozvean1klfaaa14c9c0.htm&amp;amp;locale=en#n15bfl5myitg9xn17h1i0ju8vseo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do I missed??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data one;&lt;BR /&gt;mydt='15sep2018 14:52:22'dt;&lt;BR /&gt;put mydt e8601dt25.3;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Value of mydtResult&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P class="xisDoc-paragraph"&gt;1852642342&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class="xisDoc-paragraph"&gt;2018-09-15T14:52:22.000&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2021 14:05:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Date-and-Time-format/m-p/715536#M221022</guid>
      <dc:creator>zimcom</dc:creator>
      <dc:date>2021-01-30T14:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Date and Time format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Date-and-Time-format/m-p/715537#M221023</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;format mydt e8601dt25.3;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;PUT statement writes to the LOG. However you need a format statement to display the formatted value in your output dataset. Hope this helps?&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data one;
mydt='15sep2018 14:52:22'dt;
format mydt e8601dt25.3;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 30 Jan 2021 14:13:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Date-and-Time-format/m-p/715537#M221023</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2021-01-30T14:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Date and Time format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Date-and-Time-format/m-p/715538#M221024</link>
      <description>Thnak you su much, you have been always so helpful!!!</description>
      <pubDate>Sat, 30 Jan 2021 14:18:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Date-and-Time-format/m-p/715538#M221024</guid>
      <dc:creator>zimcom</dc:creator>
      <dc:date>2021-01-30T14:18:19Z</dc:date>
    </item>
  </channel>
</rss>

