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 (May 2002, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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>
Organization: http://groups.google.com/
Subject:      GenerateWeek No. for the moth given the date
Content-Type: text/plain; charset=ISO-8859-1

Hi,

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. For eg. 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 MK


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