LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (May 1996, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 6 May 1996 15:50:26 +0000
Reply-To:     wood-st@cityscape.co.uk
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
Comments:     Authenticated sender is <jq62@mailhost.cityscape.co.uk>
From:         Philip & Esther Mason <jq62@MAILHOST.CITYSCAPE.CO.UK>
Subject:      SASTip: Week of year
Comments: cc: SAS.Tips.List@cityscape.co.uk

To obtain the week of the year from a SAS date variable, use the following code:

week=intck('week',intnx('year',date,0),date) ;

[Taken from Observations, 1st Quarter '96, p61 - there are several other tips on that page!]


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