user3686308
user3686308

Reputation: 1

SAS Date value check

How to compare sas date JAN14 with other variable. I have used date1='JAN14'd but it is not working. What are the other options i can try? I have tried comparing with 'JAN14' also but again it is not working.

Upvotes: 0

Views: 92

Answers (1)

sasfrog
sasfrog

Reputation: 2460

That's only part of a date. You need to fully specify day, month and year, e.g. '01JAN2014'd

Upvotes: 1

Related Questions