<?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 import datetime ddmmyyyy hh:mm:ss informat in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-datetime-ddmmyyyy-hh-mm-ss-informat/m-p/113252#M9614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hrm I'm not too familiar with what all options can be played directly with EG interface but here's an alternative that should allow you to only set the option and use the import interface as you did before&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options -&amp;gt;custom code-&amp;gt;insert custom sas code before task and query code (Check) -&amp;gt; edit...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type in a single line&lt;/P&gt;&lt;P&gt;options datestyle=dmy;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save and then run whatever you were running.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Aug 2013 15:38:10 GMT</pubDate>
    <dc:creator>Vince28_Statcan</dc:creator>
    <dc:date>2013-08-16T15:38:10Z</dc:date>
    <item>
      <title>How to import datetime ddmmyyyy hh:mm:ss informat</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-datetime-ddmmyyyy-hh-mm-ss-informat/m-p/113248#M9610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to import a txt file with 3 datetime fields. The fields are ddmmyyyy hh:mm:ss and I can't find the informat corresponding to this one. I've tried with anydt but doesn't work. &lt;/P&gt;&lt;P&gt;Some fields are imported missing and many others wrong. For example 01/12/2012 09:24:54 is imported as 12Jan12 when it should be 1Dec... &lt;/P&gt;&lt;P&gt;Any suggestions? &lt;/P&gt;&lt;P&gt;thanks in advance. &lt;/P&gt;&lt;P&gt;Luciana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 14:49:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-datetime-ddmmyyyy-hh-mm-ss-informat/m-p/113248#M9610</guid>
      <dc:creator>LucianaPadua</dc:creator>
      <dc:date>2013-08-16T14:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to import datetime ddmmyyyy hh:mm:ss informat</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-datetime-ddmmyyyy-hh-mm-ss-informat/m-p/113249#M9611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If anydt does read the value but fails to properly distinguish months from days, it likely has to do with your&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATESTYLE=&lt;/P&gt;&lt;P&gt;option. However, anydt. may or may not work with all datetime informats. Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options DATESTYLE=dmy;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before your data step and see if it fixes your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 15:03:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-datetime-ddmmyyyy-hh-mm-ss-informat/m-p/113249#M9611</guid>
      <dc:creator>Vince28_Statcan</dc:creator>
      <dc:date>2013-08-16T15:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to import datetime ddmmyyyy hh:mm:ss informat</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-datetime-ddmmyyyy-hh-mm-ss-informat/m-p/113250#M9612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;options datestyle=dmy;&lt;/P&gt;&lt;P&gt;data have2;&lt;/P&gt;&lt;P&gt; input v1 anydtdtm.;&lt;/P&gt;&lt;P&gt; put v1 datetime18.;&lt;/P&gt;&lt;P&gt; datalines;&lt;/P&gt;&lt;P&gt;01/12/2012 09:24:54&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output to log is&lt;/P&gt;&lt;P&gt;01DEC2012:09:24:54&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it should solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vince&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 15:08:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-datetime-ddmmyyyy-hh-mm-ss-informat/m-p/113250#M9612</guid>
      <dc:creator>Vince28_Statcan</dc:creator>
      <dc:date>2013-08-16T15:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to import datetime ddmmyyyy hh:mm:ss informat</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-datetime-ddmmyyyy-hh-mm-ss-informat/m-p/113251#M9613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vince.&lt;/P&gt;&lt;P&gt;I was trying to avoid a program task and use the import node, but I guess it's not going to be possible. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 15:26:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-datetime-ddmmyyyy-hh-mm-ss-informat/m-p/113251#M9613</guid>
      <dc:creator>LucianaPadua</dc:creator>
      <dc:date>2013-08-16T15:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to import datetime ddmmyyyy hh:mm:ss informat</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-datetime-ddmmyyyy-hh-mm-ss-informat/m-p/113252#M9614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hrm I'm not too familiar with what all options can be played directly with EG interface but here's an alternative that should allow you to only set the option and use the import interface as you did before&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options -&amp;gt;custom code-&amp;gt;insert custom sas code before task and query code (Check) -&amp;gt; edit...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type in a single line&lt;/P&gt;&lt;P&gt;options datestyle=dmy;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save and then run whatever you were running.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 15:38:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-import-datetime-ddmmyyyy-hh-mm-ss-informat/m-p/113252#M9614</guid>
      <dc:creator>Vince28_Statcan</dc:creator>
      <dc:date>2013-08-16T15:38:10Z</dc:date>
    </item>
  </channel>
</rss>

