04-04-2018 11:20 PM
04-04-2018 11:26 PM
You can refer to a specific day without knowing the numeric value on SAS's date scale. For example:
if datevar = '04Apr2018'd then do;
The date must be in quotes, must be in the format illustrated here, and must add a "d" after the closing quote.