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 (June 2005, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 21 Jun 2005 04:16:07 GMT
Reply-To:     kenneth_m_lin@SBCGLOBAL.NET
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         kenneth_m_lin@SBCGLOBAL.NET
Organization: SBC http://yahoo.sbc.com
Subject:      Re: Creating a sas date
Comments: To: sas-l@uga.edu

If you want first of the month, just do

datefield = mdy(bchmnth, bchyrr, 1);

"Jamie" <longj@aisl.uk.com> wrote in message news:1119284899.410931.326400@g14g2000cwa.googlegroups.com... >I have two variables like this > > bchyrr and bchmnth > 5 2 > 99 3 > 0 6 > 3 12 > > How can I turn these into a a SAS date. i.e 5 2 becomes 16468? > > I know this is probably quite basic but I have no idea where to start. > > Thanks in advance > > Jamie >


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