home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.american.edu!auvm!!WRESTLER,
- Message-ID: <9212291914.AA23207@tin.monsanto.com>
- Newsgroups: bit.listserv.sas-l
- Date: Tue, 29 Dec 1992 13:14:18 -0600
- Reply-To: "Jeffery M Karp, database wrestler,
- x7588" <karp@SKCLA.MONSANTO.COM>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: "Jeffery M Karp, database wrestler,
- x7588" <karp@SKCLA.MONSANTO.COM>
- Subject: 1/2 answer about date informats
- Comments: To: SAS-L@uga.cc.uga.edu@tin.monsanto.com
- Comments: cc: KARP@tin.monsanto.com
- Lines: 33
-
- ----------------------------------------------------------------------
- CONTENT: 1/2 answer to question about SAS informats
- SUMMARY: RTFM with an example in code of mmddyyyy
- REL/PLTF: 6.07 VAX VMS
- E-ADDR: karp@skcla.monsanto.com
- NAME: Jeffery Karp
- PHONE: 708 982 7588
- ----------------------------------------------------------------------
-
- I found this informat in the FM SAS language (SAS Language Version 6 First
- Edition, pg 653. An example of tested usage follows:
-
-
- /* reading date format into sas for 06231984 */
-
- data dates;
- infile 'twodate.dat';
- informat d1 mmddyy8.;
- input d1 ;
- run;
-
-
- Looked but couldn't find anything on MMYY. I did try to use the equivalent
- FORMAT but that didn't work. I'm not one of the major experts on the net tho
- so my failure doesn't mean that you have to read them in the hardway and
- process the second kind of date, but that's what I would do.
-
-
-
- Hope this helps,
-
-
- Jeffery
-