<?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: Need to change the format of date in excel. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Need-to-change-the-format-of-date-in-excel/m-p/266769#M52646</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/83003"&gt;@Arpitgt&lt;/a&gt; Welcome to SAS.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your question isn't clear as to what you need help with.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on what you're trying to do, there's a lot of options. Are you having trouble importing the data, or calculating your measure of how many people each month took insurance?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, many people here do not download Excel files, so it's best to post your data in your question, a small sample at any rate.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Apr 2016 17:01:13 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-04-27T17:01:13Z</dc:date>
    <item>
      <title>Need to change the format of date in excel.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-change-the-format-of-date-in-excel/m-p/266741#M52637</link>
      <description>&lt;P&gt;I am a newbie in SAS. And I got a data to solve.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data contains date of birth and number of people who took insurance.&lt;BR /&gt;We need to find for each month how many people took insurance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Arpit&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 15:10:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-change-the-format-of-date-in-excel/m-p/266741#M52637</guid>
      <dc:creator>Arpitgt</dc:creator>
      <dc:date>2016-04-27T15:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need to change the format of date in excel.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-change-the-format-of-date-in-excel/m-p/266744#M52638</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a SAS forum, not an Excel one? &amp;nbsp;Has your data been imported to SAS? &amp;nbsp;If so can you show an example in the form of a datastep. &amp;nbsp;AS for the code once you have it in SAS then that is pretty easy:&lt;/P&gt;
&lt;PRE&gt;proc sql;
  create table WANT as
  select  month(YOUR_DATE) as MON,
            count(PERSON) as NUMBER_OF_PEOPLE
  from    HAVE 
  group by month(YOUR_DATE);
quit;&lt;/PRE&gt;
&lt;P&gt;Without seeing some test data and required output I am just guessing though (and no, I don't download Excel files).&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 15:24:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-change-the-format-of-date-in-excel/m-p/266744#M52638</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-04-27T15:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need to change the format of date in excel.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-change-the-format-of-date-in-excel/m-p/266769#M52646</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/83003"&gt;@Arpitgt&lt;/a&gt; Welcome to SAS.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your question isn't clear as to what you need help with.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on what you're trying to do, there's a lot of options. Are you having trouble importing the data, or calculating your measure of how many people each month took insurance?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, many people here do not download Excel files, so it's best to post your data in your question, a small sample at any rate.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 17:01:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-change-the-format-of-date-in-excel/m-p/266769#M52646</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-04-27T17:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need to change the format of date in excel.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-change-the-format-of-date-in-excel/m-p/267857#M52967</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza﻿&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am having trouble to calculate how many people each month took insurance?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Below is the data for first 22 days in january. Remaining data is same as below for every month :-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;date &amp;nbsp; no_of_births&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1/1 &amp;nbsp; &amp;nbsp;1482&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1/2 &amp;nbsp; &amp;nbsp;1213&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1/3 &amp;nbsp; &amp;nbsp;1220&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1/4 &amp;nbsp; &amp;nbsp;1319&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1/5 &amp;nbsp; &amp;nbsp;1262&lt;/S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&amp;nbsp;1302&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 09:52:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-change-the-format-of-date-in-excel/m-p/267857#M52967</guid>
      <dc:creator>Arpitgt</dc:creator>
      <dc:date>2016-05-03T09:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need to change the format of date in excel.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Need-to-change-the-format-of-date-in-excel/m-p/267862#M52968</link>
      <description>&lt;P&gt;That would need some clarification,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;date &amp;nbsp; no_of_births&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1/1 &amp;nbsp; &amp;nbsp;1482&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1/2 &amp;nbsp; &amp;nbsp;1213&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;1/3 &amp;nbsp; &amp;nbsp;1220&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What type is date, as 1/1 is not a date. &amp;nbsp;Is it a SAS numeric date variable, i.e. 01JAN2016 for example? &amp;nbsp;Is no_of_births a numeric variable? &amp;nbsp; For example:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;data have;
  date="01JAN2016"d; no_of_births=1482; output;
  date="02JAN2016"d; no_of_births=1213; output;
run;
proc sql;
  create table WANT as
  select  distinct 
          month(DATE) as MON,
          sum(NO_OF_BIRTHS) as NUMBER_OF_BIRTHS
  from    HAVE 
  group by month(DATE);
quit;&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 May 2016 10:05:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Need-to-change-the-format-of-date-in-excel/m-p/267862#M52968</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-05-03T10:05:21Z</dc:date>
    </item>
  </channel>
</rss>

