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 (November 2003, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 19 Nov 2003 17:59:10 -0500
Reply-To:   "Braten, Michael (Exchange)" <mbraten@BEAR.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Braten, Michael (Exchange)" <mbraten@BEAR.COM>
Subject:   Re: Selecting a date range
Comments:   To: Gerard <brian_boru@ATT.NET>
Content-Type:   text/plain

Have you tried :

If '01JUL2003'd >= DATEVAR <= '30SEP2003'd ;

Or in SQL

Where DATEVAR between '01JUL2003'd and '30SEP2003'd ;

-----Original Message----- From: Gerard [mailto:brian_boru@ATT.NET] Sent: Wednesday, November 19, 2003 3:37 PM To: SAS-L@LISTSERV.UGA.EDU Subject: Selecting a date range

I have a date field with a SAS date9. format and I need to select a range of dates, for example: 01JUL2003 to 30SEP2003 and I can't figure out how to do this without a lot of aggravation. Anyone have any ideas? Thanks very much for your help.

Gerard

*********************************************************************** Bear Stearns is not responsible for any recommendation, solicitation, offer or agreement or any information about any transaction, customer account or account activity contained in this communication. ***********************************************************************


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