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 (November 2011, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 8 Nov 2011 11:55:00 -0600
Reply-To:     Joe Matise <snoopy369@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Joe Matise <snoopy369@GMAIL.COM>
Subject:      Re: SAS FORMAT FOR RESULTS FROM THE MONTH() FN XXXX
Comments: To: Dan Abner <dan.abner99@gmail.com>
In-Reply-To:  <CAM+YpE8i-ndUnFNzCqotr9iU4JkgG3DGhrP8pM_qmPz3MFScNg@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

/s/not a number/not a number between 1 and 12

-Joe

On Tue, Nov 8, 2011 at 11:54 AM, Joe Matise <snoopy369@gmail.com> wrote: > MONNAME. is the format, but it takes a date value, not a number. So > either use the original month, or use MDY() to get a date value > (ie, PUT(mdy(monthvar,1,1960),MONNAME.) ) > > -Joe > > On Tue, Nov 8, 2011 at 11:44 AM, Dan Abner <dan.abner99@gmail.com> wrote: >> Hi everyone, >> >> I have results from the MONTH() fn (i.e., numbers (1,12)). What is the >> appropriate SAS format that will convert these to full month names? >> >> Thanks, >> >> Dan >> >


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