Date: Wed, 8 Apr 2009 13:14:08 -0400
Reply-To: Dave Brewer <david.brewer@UC.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Dave Brewer <david.brewer@UC.EDU>
Subject: How to read a value coming in as Oct 3, 2007 and create a SAS date
Hi,
I am processing a csv file and need to know if there is an informat to
process a variable containing values "Oct 3, 2007", "Sep 25, 2007", etc.
(quotes are not part of the data. I need to create a SAS date from this
value.
I suppose I can read the data in as a $11 and parse it. If I did that, how
would I create a SAS date when the month is not a number (Oct as opposed to
10)?
Thanks for your help.
Dave
|