<?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 rescaling time variable sas from days to year in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/rescaling-time-variable-sas-from-days-to-year/m-p/626587#M77460</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;rescale time variable from days to years;
years=LENFOL/365.25;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;it showed an error after running this command, is there any mistake in the command?&lt;/P&gt;</description>
    <pubDate>Sat, 22 Feb 2020 01:40:30 GMT</pubDate>
    <dc:creator>4301</dc:creator>
    <dc:date>2020-02-22T01:40:30Z</dc:date>
    <item>
      <title>rescaling time variable sas from days to year</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/rescaling-time-variable-sas-from-days-to-year/m-p/626587#M77460</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;rescale time variable from days to years;
years=LENFOL/365.25;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;it showed an error after running this command, is there any mistake in the command?&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2020 01:40:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/rescaling-time-variable-sas-from-days-to-year/m-p/626587#M77460</guid>
      <dc:creator>4301</dc:creator>
      <dc:date>2020-02-22T01:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: rescaling time variable sas from days to year</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/rescaling-time-variable-sas-from-days-to-year/m-p/626601#M77462</link>
      <description>&lt;P&gt;The first code line of code is not valid SAS syntax. If you intend it as a comment, it should start with an asterisk (*). Moreover, the code should be part of a data step, i.e. it should start with a data statement. You must also tell SAS where to get the value for LENFOL, likely with a set statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data myNewDataset;&lt;/P&gt;
&lt;P&gt;set myOldDataset;&lt;/P&gt;
&lt;P&gt;* Rescale time variable from days to years;&lt;/P&gt;
&lt;P&gt;years = lenfol / 365.25;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2020 04:47:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/rescaling-time-variable-sas-from-days-to-year/m-p/626601#M77462</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-02-22T04:47:03Z</dc:date>
    </item>
  </channel>
</rss>

