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 1996, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 2 Apr 1996 09:30:00 -0500
Reply-To:   Robert Schechter <robert_schechter@MERCK.COM>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   Robert Schechter <robert_schechter@MERCK.COM>
Subject:   Re: date format
Comments:   To: "John F. Walsh" <AOWALSH@MURRAY.FORDHAM.EDU>

John,

Try this: 19 data _null_; 20 input date yymmdd8.; 21 put date= yymmdd10.; 22 list; 23 cards;

DATE=1996-04-02

RULE:----+----1----+----2----+----3----+----4----+----5----+----6----+----7- ---+----8----+----9-- 24 19960402 NOTE: The DATA statement used 0.71 seconds.

25 run;

Best of luck, Bob ---------- From: John F. Walsh To: schechte; Multiple recipients of list SAS-L Subject: date format Date: Tuesday, April 02, 1996 8:54AM

I would appreciate help on how to format YYYYMMDD in a date format. I think it was discussed earlier but I can not locate it. thanks John Walsh internet: aowalsh@murray.fordham.edu


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