LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (April 2009, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 8 Apr 2009 10:36:23 -0700
Reply-To:   Jack Hamilton <jfh@STANFORDALUMNI.ORG>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Jack Hamilton <jfh@STANFORDALUMNI.ORG>
Subject:   Re: How to read a value coming in as Oct 3, 2007 and create a SAS date
Comments:   To: Dave Brewer <david.brewer@UC.EDU>
In-Reply-To:   <200904081714.n38G2kvJ005011@malibu.cc.uga.edu>
Content-Type:   text/plain; charset=US-ASCII; format=flowed; delsp=yes

Try the aANYDTDTE informat, <http://support.sas.com/onlinedoc/913/getDoc/en/lrdict.hlp/a002605538.htm >.

-- Jack Hamilton jfh@alumni.stanford.org Videtis illam spirare libertatis auram

On Apr 8, 2009, at 10:14 am, Dave Brewer wrote:

> 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


Back to: Top of message | Previous page | Main SAS-L page