Date: Tue, 21 May 2002 22:11:53 -0700
Reply-To: MK <myquery5@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: MK <myquery5@YAHOO.COM>
Subject: GenerateWeek No. for the moth given the date
Content-Type: text/plain; charset=ISO-8859-1
I am a novice SAS programmer and I need help in following.
I need to calculate the week No. as in 1st week or 2nd week etc. given
the date of the year in mm/dd/yy or dd/mm/yy or any other format.
If the starting date is 1st January 2001 and it is a Monday then given
the date say 03/12/2002 (mm/dd/yy format), I need to know the Week No.
of the month (ie. 1st week or 2nd week or 3rd week or 4th week of
march) for the given date.
Can you please help me in this?
Thanks & Regards