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 (February 2009, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 18 Feb 2009 09:04:15 -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: How to isolate month from the numeric date?
Comments:   To: irinfigvam@yahoo.com
In-Reply-To:   <615293.89059.qm@web51611.mail.re2.yahoo.com>
Content-Type:   text/plain; charset=ISO-8859-1

Use the month() function... http://support.sas.com/onlinedoc/913/getDoc/en/lrdict.hlp/a000197966.htm

-Joe

On Wed, Feb 18, 2009 at 8:54 AM, Irin later <irinfigvam@yahoo.com> wrote:

> I need to isolate month from the mem_birth_dt > In the dataset view, mem_birth_dt looks like: > 1960-05-23 > > Proc contents gave me: > # Variable Type Len Format I nformat > Label > 3 mem_birth_dt Num 8 YYMMDD10. 'member birth date' > > How can it be implemented in code? > > Thank you in advance, > Irin > > > >


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