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>
Organization: http://groups.google.com
Subject: Re: adjusting dates
Content-Type: text/plain; charset=ISO-8859-1
On 5 Okt, 11:36, Patrick <patrick.mat...@gmx.ch> 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.
/Erik
|