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 (June 2008, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: cc: "data _null_," <datanull@GMAIL.COM>

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>


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