<?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: How to remove extra :00 in time in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-extra-00-in-time/m-p/626809#M184921</link>
    <description>&lt;P&gt;To just omit displaying the seconds, use the e8601dt16. format.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Feb 2020 07:15:41 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-02-24T07:15:41Z</dc:date>
    <item>
      <title>How to remove extra :00 in time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-extra-00-in-time/m-p/626805#M184918</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to remove extra :00 in time&lt;/P&gt;&lt;P&gt;for eg:&lt;BR /&gt;input:&lt;BR /&gt;'2019-03-30T20:39:00'&lt;BR /&gt;'2019-01-30T19:15:00'&lt;BR /&gt;'2019-01-30'&lt;/P&gt;&lt;P&gt;desried output:&lt;BR /&gt;'2019-03-30T20:39'&lt;BR /&gt;'2019-01-30T19:15'&lt;BR /&gt;'2019-01-30'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 07:12:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-extra-00-in-time/m-p/626805#M184918</guid>
      <dc:creator>Aayushi_17</dc:creator>
      <dc:date>2020-02-24T07:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove extra :00 in time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-extra-00-in-time/m-p/626808#M184920</link>
      <description>&lt;P&gt;A datetime value will always have a time component; if you want to keep a missing time component as such, you have to store date and time in separate variables.&lt;/P&gt;
&lt;P&gt;What format is your data source? Remote database, text file, Excel?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 07:14:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-extra-00-in-time/m-p/626808#M184920</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-02-24T07:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove extra :00 in time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-extra-00-in-time/m-p/626809#M184921</link>
      <description>&lt;P&gt;To just omit displaying the seconds, use the e8601dt16. format.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 07:15:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-extra-00-in-time/m-p/626809#M184921</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-02-24T07:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove extra :00 in time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-remove-extra-00-in-time/m-p/626841#M184933</link>
      <description>&lt;P&gt;Is it a STRING ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data have;
input x $40.;
want=prxchange("s/:00'$/'/",1,strip(x));
datalines4;
'2019-03-30T20:39:00'
'2019-01-30T19:15:00'
'2019-01-30'
;;;;
&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 Feb 2020 12:02:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-remove-extra-00-in-time/m-p/626841#M184933</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-02-24T12:02:00Z</dc:date>
    </item>
  </channel>
</rss>

