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 (April 2000, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 6 Apr 2000 13:34:39 GMT
Reply-To:     Patrice Bourdages <pbourdages@IAG.QC.CA>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Patrice Bourdages <pbourdages@IAG.QC.CA>
Organization: Bell Solutions
Subject:      Week of the year function ???

Is there a function, or a macro, that I could use to assign a week number in a year from a date. Ex.: 2000-01-01 might be week # 1 2000-12-31 would be week # 52

My point is to assign a week number to transactions dates for summary (in a "pseudo-cube"). It would be part of an hierarchy.

There are function for QTR() and some other interesting ones.

Thanks you all for your help.

-- Sincerely yours,

Patrice Bourdages pbourdages@iag.qc.ca IS Analyst L'Industrielle Alliance Auto et Habitation Quebec, Quebec, Canada


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