Date: Fri, 7 Jul 2006 09:26:00 -0400
Reply-To: Bob_Abelson@HGSI.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Bob Abelson <Bob_Abelson@HGSI.COM>
Subject: Re: YYYYMMDD
In-Reply-To: <200607071320.k67AkNeH011070@mailgw.cc.uga.edu>
Content-Type: text/plain; charset=us-ascii
Herman,
Try the yymmdd8. format, that should work for you here.
Bob Abelson
HGSI
240 314 4400 x1374
bob_abelson@hgsi.com
Heman Hunters <hemanhunters@GMAIL.COM>
Sent by: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
07/07/2006 09:21 AM
Please respond to
Heman Hunters <hemanhunters@GMAIL.COM>
To
SAS-L@LISTSERV.UGA.EDU
cc
Subject
YYYYMMDD
I have (in a textfile) a date variable on the form yyyymmdd, e.g. 20061224
(X-mas). How do I do to get it into my SAS-dataset as a date variable?
data rantor;
infile "H:\lmrtor.txt" dlm = ';';
input date WHICHFORMATHERE??? amount company $;
run;