<?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 read 24 hrs time format in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-read-24-hrs-time-format/m-p/562783#M10788</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265860"&gt;@BrahmanandaRao&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've answered your question on how to read the time strings.&lt;/P&gt;
&lt;P&gt;To make everything work: You're posting an input statement which uses list input but the data you post is not on the positions where it should be according to what you've coded. So what's correct now? The data layout or your input statement?&lt;/P&gt;
&lt;P&gt;Why don't you give it a go first on your own and then ask more targeted questions when you get stuck.&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2019 06:49:54 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2019-05-31T06:49:54Z</dc:date>
    <item>
      <title>How to read 24 hrs time format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-read-24-hrs-time-format/m-p/562764#M10784</link>
      <description>&lt;P&gt;HI Experts i unable to read below dataset using dateampm&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data trians;
input train_name $ 1-22  arrival 23-26  dept 27-32  total_hours 34-39;
informat arrival dateampm dept dateampm total_hours dateampm;
format arrival dateampm dept dateampm total_hours dateampm		;
datalines;
VSKP GARIB RATH(12740)  20:30 04:06 07:36	
GODAVARI EXP(12728)  7:40 01:39 07:59
FALAKNUMA EXP(12704) 15:55 00:02 08:07
;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 31 May 2019 04:21:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-read-24-hrs-time-format/m-p/562764#M10784</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2019-05-31T04:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to read 24 hrs time format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-read-24-hrs-time-format/m-p/562779#M10786</link>
      <description>&lt;P&gt;There are a few other issues with your code but here how you can read your time strings.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data trains;
  informat arrival dept total_hours time5.;
  format arrival dept total_hours time5.;
  input arrival dept total_hours ;
  datalines;
20:30 04:06 07:36 
;
run;

proc print data=trains;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 31 May 2019 06:26:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-read-24-hrs-time-format/m-p/562779#M10786</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-05-31T06:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to read 24 hrs time format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-read-24-hrs-time-format/m-p/562781#M10787</link>
      <description>&lt;P&gt;Thank you for response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i want output train name including train code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 06:34:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-read-24-hrs-time-format/m-p/562781#M10787</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2019-05-31T06:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to read 24 hrs time format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-read-24-hrs-time-format/m-p/562783#M10788</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265860"&gt;@BrahmanandaRao&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've answered your question on how to read the time strings.&lt;/P&gt;
&lt;P&gt;To make everything work: You're posting an input statement which uses list input but the data you post is not on the positions where it should be according to what you've coded. So what's correct now? The data layout or your input statement?&lt;/P&gt;
&lt;P&gt;Why don't you give it a go first on your own and then ask more targeted questions when you get stuck.&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 06:49:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-read-24-hrs-time-format/m-p/562783#M10788</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-05-31T06:49:54Z</dc:date>
    </item>
  </channel>
</rss>

