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 (July 2006, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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;


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