<?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 To check overlapping data/time in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/To-check-overlapping-data-time/m-p/27386#M6247</link>
    <description>********Sorry, Please Ignore This**************&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Hi everyone,&lt;BR /&gt;
&lt;BR /&gt;
I am trying to write a code to seperate records with overlapping dates. But I have datetime in iso format (2009-10-09T10:00). I seperated the date and time an concatenated them into a different character variable(09OCT2009:10:00). How do I convert this into a numeric variable where I can use operators such as less than  and Greater than.&lt;BR /&gt;
&lt;BR /&gt;
Thanks

Message was edited by: madhu</description>
    <pubDate>Tue, 08 Dec 2009 13:53:01 GMT</pubDate>
    <dc:creator>madhu</dc:creator>
    <dc:date>2009-12-08T13:53:01Z</dc:date>
    <item>
      <title>To check overlapping data/time</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/To-check-overlapping-data-time/m-p/27386#M6247</link>
      <description>********Sorry, Please Ignore This**************&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Hi everyone,&lt;BR /&gt;
&lt;BR /&gt;
I am trying to write a code to seperate records with overlapping dates. But I have datetime in iso format (2009-10-09T10:00). I seperated the date and time an concatenated them into a different character variable(09OCT2009:10:00). How do I convert this into a numeric variable where I can use operators such as less than  and Greater than.&lt;BR /&gt;
&lt;BR /&gt;
Thanks

Message was edited by: madhu</description>
      <pubDate>Tue, 08 Dec 2009 13:53:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/To-check-overlapping-data-time/m-p/27386#M6247</guid>
      <dc:creator>madhu</dc:creator>
      <dc:date>2009-12-08T13:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: To check overlapping data/time</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/To-check-overlapping-data-time/m-p/27387#M6248</link>
      <description>Hi:&lt;BR /&gt;
  To change a character variable to a numeric variable, you can use the INPUT function. Since your character variable represents a date/time, you can use a date/time INFORMAT with the INPUT function to create a numeric variable that represents the number of seconds since midnight Jan 1, 1960. &lt;BR /&gt;
 &lt;BR /&gt;
  There have been many previous posts in this forum and others on how to convert character date variables to numeric variables. If you either look in the documentation on INPUT and INFORMAT or search the forum postings, you should find some useful examples.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 08 Dec 2009 14:14:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/To-check-overlapping-data-time/m-p/27387#M6248</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-12-08T14:14:46Z</dc:date>
    </item>
  </channel>
</rss>

