Date: Fri, 27 Jun 2008 23:17:42 +0000
Reply-To: iw1junk@COMCAST.NET
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Ian Whitlock <iw1junk@COMCAST.NET>
Subject: Re: find nth week of a day
Data _null_ ;
Thanks for pointing out the function. It also points out in my algorithm
I forgot about January 1 falling on a Sunday. There I have the first day
in week 1 where it should have been 0.
Ian Whitlock
============
Date: Fri, 27 Jun 2008 16:47:44 -0500
Reply-To: "data _null_," <datanull@GMAIL.COM>
Sender: "SAS(r)
From: "data _null_," <datanull@GMAIL.COM>
Subject: Re: find nth week of a day
Comments: To: iw1junk@comcast.net
In-Reply-To: <062720082106.13509.4865563E0006075C000034C5220702085305029A06CE9907@comcast.net>
Content-Type: text/plain; charset=ISO-8859-1
Have you considered the NLS function WEEK(<sas_date>, <descriptor>) ?
<snip>
|