| Date: | Thu, 30 Jul 2009 09:00:27 -0700 |
| Reply-To: | bufino <qotsa79@HOTMAIL.CO.UK> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | bufino <qotsa79@HOTMAIL.CO.UK> |
| Organization: | http://groups.google.com |
| Subject: | text variable to numeric |
|
| Content-Type: | text/plain; charset=ISO-8859-1 |
Hi.
I've just created a text variable which looks like a date variable by
disaggregating the following and reassembling it:
date year month day
29/04/2009 2009 4 29
the trouble is the 'date' is not in a date format but a text format.
i've tried these two options
format date2 ddmmyyyy8.;
length date2 ddmmyyyy8.;
but none of them works.
Any suggestions?
Thanks
|