This is an update on the progress, or lack of, to find the way to subset date and datetime variables. The syntax is created by a point and click interface for filtering. For date/datetime you have to use the Advanced Filtering. You can edit the created syntax but still must follow a non-SAS like syntax. I have been able to subset two datetime variables in a dataset but still have to manually edit the right hand portion of the selection. Not being able to subset on a date/datetime variable and comparing it to a user entered date has escaped me for now. The last I heard from SAS Support they wanted a dataset, so I sent them my code that created a test two observation, two variable dataset with a datetime and a character variable. I haven't heard from them since sending it.
If I get a useable way to do the subsetting I will post it here.
... View more