<?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: Dates of Salaries in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dates-of-Salaries/m-p/202261#M15190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;t2.end_date- &lt;SPAN style="text-decoration: underline;"&gt;'01jan2014'd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The underlined part is a date literal, which means one that humans understand. The internal numeric value that SAS uses for that date is 19724.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2015 15:05:24 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-04-27T15:05:24Z</dc:date>
    <item>
      <title>Dates of Salaries</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dates-of-Salaries/m-p/202256#M15185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have information on employees' salaries and the end and start date of the time they worked at the company. I wish to work out the Total Sum of Salaries for 2014, but many staff left halfway through the year so they only get a percentage of their whole salary. So how do I find out the percentage of the salary they got and then sum it together to get the Sum of Salaries using the Query Builder?&amp;nbsp; q&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 13:01:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dates-of-Salaries/m-p/202256#M15185</guid>
      <dc:creator>agreekgod</dc:creator>
      <dc:date>2015-04-23T13:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dates of Salaries</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dates-of-Salaries/m-p/202257#M15186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually if this was my project I would take the information to calculate a daily rate (unless hourly seems more appropriate and that information is available, The calculate the number of days as&lt;/P&gt;&lt;P&gt;DaysAtSalary = EndDate - StartDate; /* assumes you have SAS date values*/&lt;/P&gt;&lt;P&gt;Then using any of the report procedures such as Proc Report, Tabulate or even Means ask for the sum of the daily salary values and WEIGHT by the number of days at that salary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 15:02:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dates-of-Salaries/m-p/202257#M15186</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-04-23T15:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dates of Salaries</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dates-of-Salaries/m-p/202258#M15187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The StartDates go way back, not to 2014 which is the only year that I want to find out about. I have tried to make a new column in the Query Builder with the expression so that I can find out how many days they have worked in 2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t2.end_date-01jan2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I keeps on saying that Query Syntax is not valid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 17:23:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dates-of-Salaries/m-p/202258#M15187</guid>
      <dc:creator>agreekgod</dc:creator>
      <dc:date>2015-04-23T17:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dates of Salaries</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dates-of-Salaries/m-p/202259#M15188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;us '01JAN2014'd the quotes and d tell sas to treat the value as a date literal.&lt;/P&gt;&lt;P&gt;OR you can get the day of the year as Mod(juldate(t2.end_date),1000)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 17:45:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dates-of-Salaries/m-p/202259#M15188</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-04-23T17:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dates of Salaries</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dates-of-Salaries/m-p/202260#M15189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I treat date as literal?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 08:53:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dates-of-Salaries/m-p/202260#M15189</guid>
      <dc:creator>agreekgod</dc:creator>
      <dc:date>2015-04-27T08:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dates of Salaries</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dates-of-Salaries/m-p/202261#M15190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;t2.end_date- &lt;SPAN style="text-decoration: underline;"&gt;'01jan2014'd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The underlined part is a date literal, which means one that humans understand. The internal numeric value that SAS uses for that date is 19724.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 15:05:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Dates-of-Salaries/m-p/202261#M15190</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-04-27T15:05:24Z</dc:date>
    </item>
  </channel>
</rss>

