Checking for dates six months or older - SAS

How do I check for a date (Date_A) six months or older than today's date in SAS?
moriniaAdvanced Analytics AnalystAsked:
Who is Participating?
Aloysius LowConnect With a Mentor Commented:
use the INTNX function (within PROC SQL or data step):
New_Date = INTNX("month", Date_A ,-6, "[alignment]");

where alignment is:

using today's date (11 Apr 2012),
BEGINNING gives you 01 Oct 2011
MIDDLE gives you 16 Oct 2011
END gives you 31 Oct 2011

so you have to decide which date you are interested in ;)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.