| Date: | Mon, 26 Aug 2002 23:14:16 -0700 |
| Reply-To: | Matt <barenmat@YAHOO.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Matt <barenmat@YAHOO.COM> |
| Organization: | http://groups.google.com/ |
| Subject: | converting dates |
| Content-Type: | text/plain; charset=ISO-8859-1 |
Hello,
I have a variable in the following numeric format (representing
quarters of the year) [already in a SAS data set]:
198401
198402
198403
198404
198501
...
I would like to convert this to SAS dates, so that then I could use
this variable in the proc x11, to adjust for seasonality as follows (I
need to convert the above to the newSASdatevar I refer to below):
proc x11 data = mydata;
quarterly date = newSASdatevar;
var myvar;
tables d11;
run;
Thank you very much for any tips you may have,
Matt
P.S. Thanks for the help on my last inquiry.
|