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 (April 2007, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 20 Apr 2007 09:43:51 -0400
Reply-To:     "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM>
Subject:      Re: date range?

On Fri, 20 Apr 2007 06:38:20 -0700, celiacai@GMAIL.COM wrote:

>Hi, > >How can I exclude a range of dates from the dataset in a data step >(maybe sql too)? Say, I want to exclude the week of 9/11/2001? I know >the 'date'd, but seems no way to specify a range/interval of dates. > >celia

First, define "week".

Do you mean week beginning on 9/11 (9/11 through 9/17)? Or, is it the week beginning on xxxxday and including 9/11? If so, is xxxxday = Sunday, or = Monday, or what?


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