11-05-2014 12:23 PM
I am using a SAS dataset which has a date variable with:
I need to select cases between 2 particular dates. I have tried reformatting the dates, using the GE LE functions with 'yymmdd'D and a lot of other techniques. But nothing seems to work. Please help.
11-05-2014 12:50 PM
All date literals are in the form ddMonYY or ddMonYYYY. '13JUN2014'D for example. The format of the variable has nothing to do with selecting values.
11-06-2014 12:04 PM
I will also add that there is no date variable in SAS. You have either numeric (which can be formatted as dates) or character variables.