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:         Sat, 1 Apr 2000 05:07:04 GMT
Reply-To:     Shan <sputnam@EIS.COM.EG>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Shan <sputnam@EIS.COM.EG>
Organization: Deja.com - Before you buy.
Subject:      sub-setting by date format

I have a quick question about date formats I have a yymmdd2. format that pulls the 'year' off. I want to sub-set a dataset by a specific year. Something like this: if year=99 then do; . . . end; I've tried substr(var,1,2), but no good. but it doesn't seem to work - any thoughts? shan

Sent via Deja.com http://www.deja.com/ Before you buy.


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