<?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 Reading date time in SAS in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Reading-date-time-in-SAS/m-p/396324#M3437</link>
    <description>&lt;P&gt;I am trying to read date and time into one variable which is in below format DD-MM-YYYY &amp;nbsp;HH:MM&lt;/P&gt;&lt;P&gt;eg:&amp;nbsp;18-08-2017 &amp;nbsp;20:55&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;informat Modified_DateTime datetime.;
input Modified_DateTime  1-17;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 15 Sep 2017 13:41:45 GMT</pubDate>
    <dc:creator>kvpseshu</dc:creator>
    <dc:date>2017-09-15T13:41:45Z</dc:date>
    <item>
      <title>Reading date time in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Reading-date-time-in-SAS/m-p/396324#M3437</link>
      <description>&lt;P&gt;I am trying to read date and time into one variable which is in below format DD-MM-YYYY &amp;nbsp;HH:MM&lt;/P&gt;&lt;P&gt;eg:&amp;nbsp;18-08-2017 &amp;nbsp;20:55&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;informat Modified_DateTime datetime.;
input Modified_DateTime  1-17;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Sep 2017 13:41:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Reading-date-time-in-SAS/m-p/396324#M3437</guid>
      <dc:creator>kvpseshu</dc:creator>
      <dc:date>2017-09-15T13:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reading date time in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Reading-date-time-in-SAS/m-p/396329#M3438</link>
      <description>&lt;P&gt;So, how is it going?&lt;/P&gt;
&lt;P&gt;Given your code snippet, your informat doesn't match your source data.&lt;/P&gt;
&lt;P&gt;Find a more appropriate&amp;nbsp;format in the SAS informat documentation.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 13:45:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Reading-date-time-in-SAS/m-p/396329#M3438</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-09-15T13:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Reading date time in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Reading-date-time-in-SAS/m-p/396338#M3439</link>
      <description>I have tried finding possible informats but not successful</description>
      <pubDate>Fri, 15 Sep 2017 14:00:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Reading-date-time-in-SAS/m-p/396338#M3439</guid>
      <dc:creator>kvpseshu</dc:creator>
      <dc:date>2017-09-15T14:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Reading date time in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Reading-date-time-in-SAS/m-p/396350#M3440</link>
      <description>&lt;P&gt;Did you try the anydtdtm. informat?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt; junk;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt; x=&lt;/FONT&gt;&lt;FONT color="#800080" face="SAS Monospace" size="2"&gt;"18-08-2017 20:55"&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt; y=input(x, &lt;/FONT&gt;&lt;FONT color="#804040" face="SAS Monospace" size="2"&gt;anydtdtm.&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;);&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;format&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt; y &lt;/FONT&gt;&lt;FONT color="#804040" face="SAS Monospace" size="2"&gt;datetime.&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="SAS Monospace" size="2"&gt;run&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;; &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2017 14:38:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Reading-date-time-in-SAS/m-p/396350#M3440</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-09-15T14:38:24Z</dc:date>
    </item>
  </channel>
</rss>

