<?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: Is there a DATETIME FORMAT like YYYY-MM-DDThh:mm:ss ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-DATETIME-FORMAT-like-YYYY-MM-DDThh-mm-ss/m-p/560045#M156496</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
picture dtpic
other='%Y-%0m-%0dT%0H:%0M:%0S' (datatype=datetime);
run;

data test;
   datetime='25dec2000 00:00:00'dt;
   format datetime dtpic.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 20 May 2019 09:00:23 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2019-05-20T09:00:23Z</dc:date>
    <item>
      <title>Is there a DATETIME FORMAT like YYYY-MM-DDThh:mm:ss ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-DATETIME-FORMAT-like-YYYY-MM-DDThh-mm-ss/m-p/560043#M156494</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know if it exists a DATETIME format such like&amp;nbsp;YYYY-MM-DDThh:mm:ss (note the 'T' &amp;nbsp;between time and date),&lt;/P&gt;&lt;P&gt;and if not how to create this format with functions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hugo_B.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 08:55:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-DATETIME-FORMAT-like-YYYY-MM-DDThh-mm-ss/m-p/560043#M156494</guid>
      <dc:creator>Hugo_B</dc:creator>
      <dc:date>2019-05-20T08:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a DATETIME FORMAT like YYYY-MM-DDThh:mm:ss ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-DATETIME-FORMAT-like-YYYY-MM-DDThh-mm-ss/m-p/560045#M156496</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
picture dtpic
other='%Y-%0m-%0dT%0H:%0M:%0S' (datatype=datetime);
run;

data test;
   datetime='25dec2000 00:00:00'dt;
   format datetime dtpic.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 20 May 2019 09:00:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-DATETIME-FORMAT-like-YYYY-MM-DDThh-mm-ss/m-p/560045#M156496</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-05-20T09:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a DATETIME FORMAT like YYYY-MM-DDThh:mm:ss ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-DATETIME-FORMAT-like-YYYY-MM-DDThh-mm-ss/m-p/560046#M156497</link>
      <description>&lt;P&gt;There is (see Maxim 8 &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; ).&lt;/P&gt;
&lt;P&gt;It is E8601DT19.&lt;/P&gt;
&lt;PRE&gt;29         data _null_;
30         now = datetime();
31         format now e8601dt19.;
32         put now=;
33         run;

now=2019-05-20T11:03:22
&lt;/PRE&gt;</description>
      <pubDate>Mon, 20 May 2019 09:04:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-DATETIME-FORMAT-like-YYYY-MM-DDThh-mm-ss/m-p/560046#M156497</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-05-20T09:04:24Z</dc:date>
    </item>
  </channel>
</rss>

