Can anyone help to find a way to extract all data between two dates (for example 01/10/2007 and 31/03/2008) in SAS please? Date format is DDMMYY10. I tried the syntax below:
Data want; set have; where OrderDate between 01/10/2007 and 31/03/2008; Run;
it was giving me an error. Thanks
data want;
set have;
where orderDate between '01OCT2007'd and '31MAR2008'd;
run;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.