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 (March 2008, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 3 Mar 2008 01:23:44 -0800
Reply-To:   Joep Steeman <jsteeman@BUSINESSDECISION.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Joep Steeman <jsteeman@BUSINESSDECISION.COM>
Organization:   http://groups.google.com
Subject:   Re: Convert a SAS date in format 12APR08
Comments:   To: sas-l@uga.edu
Content-Type:   text/plain; charset=ISO-8859-1

On 3 mrt, 10:04, Flowers <nfleury.i...@gmail.com> wrote: > Hello, > > I want convert a SAS date in this format (example :12APR08) > > I try : > > put (date,date7.); > > but it is not good !! > > kinds regards.

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


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