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 (October 2009, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 5 Oct 2009 03:38:12 -0700
Reply-To:     E Joas <erikjoas@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         E Joas <erikjoas@GMAIL.COM>
Subject:      Re: adjusting dates
Comments: To:
Content-Type: text/plain; charset=ISO-8859-1

On 5 Okt, 11:36, Patrick <> wrote: > Hi Erik > > Something like this? > > data _null_; > year=2009; > format SASdate yymmddn8.; > SASdate=input(cats('01Jan',year),date9.); > put SASdate=; > run; > > HTH > Patrick

Thanks for the help, I actually also figured out a way to do it but yours was a lot more elegant.


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