Date: Mon, 3 Mar 2008 01:39:17 -0800
Reply-To: Flowers <nfleury.iris@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Flowers <nfleury.iris@GMAIL.COM>
Organization: http://groups.google.com
Subject: Re: Convert a SAS date in format 12APR08
Content-Type: text/plain; charset=ISO-8859-1
> This works for me:
>
> 9 data _null_;
> 10 d = date();
> 11 put d= date7.;
> 12 dchar = put(d, date7.);
> 13 put dchar=;
> 14 run;
>
> d=03MAR08
> dchar=03MAR08
>
> Best regards,
>
> Joep
Thanks for you answer, but i have a problem with the next log :
data result.listing_dov_07;
set MAI001_WEE008;
d = (dov_mai_001_dt);
put d= date7.;
------
48
dchar = put(d,date7.);
------
48
ERROR 48-59: The format $DATE was not found or could not be loaded.
kinds regards
|