<?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 Import YYYY-MM-DD and hh:mm:ss in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Import-YYYY-MM-DD-and-hh-mm-ss/m-p/826047#M326282</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;I have a csv file as below, and can you please help me to import it.&lt;/P&gt;
&lt;P&gt;I always have hard time dealing with date and time.&lt;/P&gt;
&lt;P&gt;Thank you so much.&lt;/P&gt;
&lt;P&gt;HHC&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;price,product_code,date,time
100.0,AA,2022-07-27,07:00:00
450.0,AAXGH,2022-07-27,07:30:00&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 28 Jul 2022 20:25:44 GMT</pubDate>
    <dc:creator>hhchenfx</dc:creator>
    <dc:date>2022-07-28T20:25:44Z</dc:date>
    <item>
      <title>Import YYYY-MM-DD and hh:mm:ss</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-YYYY-MM-DD-and-hh-mm-ss/m-p/826047#M326282</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;I have a csv file as below, and can you please help me to import it.&lt;/P&gt;
&lt;P&gt;I always have hard time dealing with date and time.&lt;/P&gt;
&lt;P&gt;Thank you so much.&lt;/P&gt;
&lt;P&gt;HHC&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;price,product_code,date,time
100.0,AA,2022-07-27,07:00:00
450.0,AAXGH,2022-07-27,07:30:00&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Jul 2022 20:25:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-YYYY-MM-DD-and-hh-mm-ss/m-p/826047#M326282</guid>
      <dc:creator>hhchenfx</dc:creator>
      <dc:date>2022-07-28T20:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Import YYYY-MM-DD and hh:mm:ss</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-YYYY-MM-DD-and-hh-mm-ss/m-p/826051#M326283</link>
      <description>&lt;P&gt;PROC IMPORT reads the data perfectly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile="f:\my documents\example.csv" dbms=csv out=want;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 20:36:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-YYYY-MM-DD-and-hh-mm-ss/m-p/826051#M326283</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-07-28T20:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Import YYYY-MM-DD and hh:mm:ss</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-YYYY-MM-DD-and-hh-mm-ss/m-p/826056#M326285</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
infile "path to your file" dlm="," dsd truncover firstobs=2;
input price,' product_code $ date :yymmdd10. time :time8.;
format date yymmdd10. time time8.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Jul 2022 20:45:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-YYYY-MM-DD-and-hh-mm-ss/m-p/826056#M326285</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-07-28T20:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Import YYYY-MM-DD and hh:mm:ss</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Import-YYYY-MM-DD-and-hh-mm-ss/m-p/826084#M326290</link>
      <description>&lt;P&gt;Thank you all for helping.&lt;/P&gt;
&lt;P&gt;HHC&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 01:07:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Import-YYYY-MM-DD-and-hh-mm-ss/m-p/826084#M326290</guid>
      <dc:creator>hhchenfx</dc:creator>
      <dc:date>2022-07-29T01:07:20Z</dc:date>
    </item>
  </channel>
</rss>

