LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 1996, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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?
Comments: To: chwu@NONAME.AMERICAN.EDU

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.

Back to: Top of message | Previous page | Main SAS-L page