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 (August 2003, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 22 Aug 2003 17:58:54 +0100
Reply-To:     Roland <roland@RASHLEIGH-BERRY.FSNET.CO.UK>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Roland <roland@RASHLEIGH-BERRY.FSNET.CO.UK>
Organization: Universe Monitors
Subject:      Re: Date Conversion

"Archana" <> wrote in message > Hi, > > I have date in the form 12-nov-2001. I need to convert this into sas > date format.Please let me know. > > Thanks > Archana

37 data _null_; 38 char='12-Nov-2001'; 39 date=input(compress(char,'-'),date9.); 40 put date=; 41 format date date9.; 42 run;

date=12NOV2001 NOTE: DATA statement used: real time 0.00 seconds

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