<?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 How to convert date to is8601dt in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-date-to-is8601dt/m-p/602681#M174511</link>
    <description>Hello!&lt;BR /&gt;I've a date 11/jul/2012&lt;BR /&gt;&lt;BR /&gt;So I'm trying to convert this date to iso format.&lt;BR /&gt;I'm running the below program&lt;BR /&gt;&lt;BR /&gt;Data new;&lt;BR /&gt;Set old;&lt;BR /&gt;DD=put(input(DD,best.),is8601dt.);&lt;BR /&gt;Run;&lt;BR /&gt;&lt;BR /&gt;But I didn't get the out put,and the log shows invalid argument function input.&lt;BR /&gt;&lt;BR /&gt;Could you please solve this query..&lt;BR /&gt;&lt;BR /&gt;Thank you!</description>
    <pubDate>Fri, 08 Nov 2019 07:33:42 GMT</pubDate>
    <dc:creator>sasuser123123</dc:creator>
    <dc:date>2019-11-08T07:33:42Z</dc:date>
    <item>
      <title>How to convert date to is8601dt</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-date-to-is8601dt/m-p/602681#M174511</link>
      <description>Hello!&lt;BR /&gt;I've a date 11/jul/2012&lt;BR /&gt;&lt;BR /&gt;So I'm trying to convert this date to iso format.&lt;BR /&gt;I'm running the below program&lt;BR /&gt;&lt;BR /&gt;Data new;&lt;BR /&gt;Set old;&lt;BR /&gt;DD=put(input(DD,best.),is8601dt.);&lt;BR /&gt;Run;&lt;BR /&gt;&lt;BR /&gt;But I didn't get the out put,and the log shows invalid argument function input.&lt;BR /&gt;&lt;BR /&gt;Could you please solve this query..&lt;BR /&gt;&lt;BR /&gt;Thank you!</description>
      <pubDate>Fri, 08 Nov 2019 07:33:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-date-to-is8601dt/m-p/602681#M174511</guid>
      <dc:creator>sasuser123123</dc:creator>
      <dc:date>2019-11-08T07:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert date to is8601dt</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-date-to-is8601dt/m-p/602685#M174515</link>
      <description>&lt;P&gt;This input string is clearly not a number, so the BEST. informat will fail.&lt;/P&gt;
&lt;P&gt;Try DATE11. instead.&lt;/P&gt;
&lt;P&gt;And the correct name of the ISO date format is either E8601DA10. (with hyphens) or B8601DA8. (without hyphens).&lt;/P&gt;
&lt;P&gt;Maxim 1: Read the Documentation.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 07:41:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-date-to-is8601dt/m-p/602685#M174515</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-11-08T07:41:15Z</dc:date>
    </item>
  </channel>
</rss>

