<?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: Numeric Days to a Date Format in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Numeric-Days-to-a-Date-Format/m-p/37062#M4591</link>
    <description>Try using the INPUT function in a SAS variable assignment statement, specifying the appropriate INFORMAT name as the second argument.  Check resources on the SAS support  &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;  website, such as the technical conference paper listed below.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
A Beginners Guide to SAS  Date and Time Handling&lt;BR /&gt;
Wayne Finley, State of California HHSDC, Sacramento, CA&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi25/25/btu/25p058.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi25/25/btu/25p058.pdf&lt;/A&gt;</description>
    <pubDate>Wed, 27 May 2009 13:48:18 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2009-05-27T13:48:18Z</dc:date>
    <item>
      <title>Numeric Days to a Date Format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Numeric-Days-to-a-Date-Format/m-p/37061#M4590</link>
      <description>I have a string parameter that I have that I enter as a date (mm/dd/yyyy).  I do not have this parameter enclosed in quotes because of something I am doing later in the process.  I then want to subtract 1 day from this date that is being entered.  So, I am trying to convert this string into a date so I can use the INTNX function.  I am having troubles converting the parameter string into a date format.&lt;BR /&gt;
&lt;BR /&gt;
Please help!

Message was edited by: rmccray</description>
      <pubDate>Wed, 27 May 2009 13:31:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Numeric-Days-to-a-Date-Format/m-p/37061#M4590</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-05-27T13:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric Days to a Date Format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Numeric-Days-to-a-Date-Format/m-p/37062#M4591</link>
      <description>Try using the INPUT function in a SAS variable assignment statement, specifying the appropriate INFORMAT name as the second argument.  Check resources on the SAS support  &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;  website, such as the technical conference paper listed below.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
A Beginners Guide to SAS  Date and Time Handling&lt;BR /&gt;
Wayne Finley, State of California HHSDC, Sacramento, CA&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi25/25/btu/25p058.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi25/25/btu/25p058.pdf&lt;/A&gt;</description>
      <pubDate>Wed, 27 May 2009 13:48:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Numeric-Days-to-a-Date-Format/m-p/37062#M4591</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-05-27T13:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Numeric Days to a Date Format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Numeric-Days-to-a-Date-Format/m-p/37063#M4592</link>
      <description>input(&lt;STRINGVAR&gt;, mmddyy10.) will convert to a number, PUT(&lt;NUMVAR&gt;, mmddyy10.) goes the other way, so to get the new var to have a string value that is one day less,&lt;BR /&gt;
&lt;BR /&gt;
&lt;NEW_VAR&gt;=PUT(INPUT(&lt;OLD_STRING_VAR&gt;,mmddyy10.)-1,mmddyy10.);&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke&lt;/OLD_STRING_VAR&gt;&lt;/NEW_VAR&gt;&lt;/NUMVAR&gt;&lt;/STRINGVAR&gt;</description>
      <pubDate>Wed, 27 May 2009 13:49:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Numeric-Days-to-a-Date-Format/m-p/37063#M4592</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2009-05-27T13:49:35Z</dc:date>
    </item>
  </channel>
</rss>

