Date: Fri, 25 Jan 2002 15:18:12 -0500
Reply-To: Rick_D_Bargar@CHCMAIL.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Rick Bargar <Rick_D_Bargar@CHCMAIL.COM>
Subject: INTNX usage
Content-type: text/plain; charset=us-ascii
Thanks to all that replied and fixed my problem with converting the SAS date or
explaining why it was giving me results I got. I checked the "fine" manual but
it did
not explain it half as well as all of you did!
Thanks again
Rick
------
D = '25JAN2002'D;
N = 3;
BACK_3MO = INTNX('MONTH',D,-N);
FORMAT BACK_3MO DATE9.;
PUT BACK_3MO=; /* OR PUT BACK_3MO= date9.; */
BACK_3MO=01OCT2001
|