<?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 using datetime18. format in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/using-datetime18-format/m-p/693234#M37346</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have some difficulties with a date format in one of our old program:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data a;&lt;BR /&gt;x=1918425600;&lt;BR /&gt;y=x;&lt;BR /&gt;format x datetime18. ;&lt;BR /&gt;output;&lt;BR /&gt;x=MDY(1,1,1900);&lt;BR /&gt;y=x;&lt;BR /&gt;output;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I get 01jan00:00:00:00 instead of&amp;nbsp;31DEC59:17:54:46&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2020 15:57:26 GMT</pubDate>
    <dc:creator>alepage</dc:creator>
    <dc:date>2020-10-21T15:57:26Z</dc:date>
    <item>
      <title>using datetime18. format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/using-datetime18-format/m-p/693234#M37346</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have some difficulties with a date format in one of our old program:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data a;&lt;BR /&gt;x=1918425600;&lt;BR /&gt;y=x;&lt;BR /&gt;format x datetime18. ;&lt;BR /&gt;output;&lt;BR /&gt;x=MDY(1,1,1900);&lt;BR /&gt;y=x;&lt;BR /&gt;output;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I get 01jan00:00:00:00 instead of&amp;nbsp;31DEC59:17:54:46&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 15:57:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/using-datetime18-format/m-p/693234#M37346</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2020-10-21T15:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: using datetime18. format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/using-datetime18-format/m-p/693238#M37347</link>
      <description>&lt;P&gt;MDY results in a&amp;nbsp;&lt;EM&gt;date&lt;/EM&gt; value (count of days), to expand it to a&amp;nbsp;&lt;EM&gt;datetime&lt;/EM&gt; (count of seconds), use DHMS:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;x = dhms(mdy(1,1,1900),0,0,0);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Oct 2020 16:06:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/using-datetime18-format/m-p/693238#M37347</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-21T16:06:47Z</dc:date>
    </item>
  </channel>
</rss>

