Date: Wed, 31 Jan 1996 09:01:02 PST
Reply-To: TWB2%Rates%FAR@GO50.COMP.PGE.COM
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: TWB2%Rates%FAR@GO50.COMP.PGE.COM
Subject: Re: Counting the Months?
Try INTCK('MONTH',fromdate,todate); This will count changes in the calendar
month between the two dates. INTCK('MONTH','01JAN95'D,'28FEB95'D) is 1 as is
INTCHK('MONTH','31JAN95'D,'01FEB95'D);
INTCK also got some new interval values in 6.08 (see P-222).
Tim Berryhill - Contract Programmer and General Wizard
TWB2@PGE.COM
Frequently at Pacific Gas & Electric Co., San Francisco
The correlation coefficient between their views and
my postings is slightly less than 0
----------------------[Reply - Original Message]----------------------
Sent by:Chien-Hua Wu <chwu@NONAME.AMERICAN.EDU>
I had a difficulty to calculate the number of months from two different
dates.
|