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 (October 2002, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 30 Oct 2002 11:42:22 -0000
Reply-To:     "roland.rashleigh-berry" <roland.rashleigh-berry@NTLWORLD.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "roland.rashleigh-berry" <roland.rashleigh-berry@NTLWORLD.COM>
Organization: ntlworld News Service
Subject:      Re: HOWTO find last Friday of month?

Will this do it?

Use the date of the first of the following month and apply this.

lastfri=intnx('week.6',date-1,0);

"Stig Eide" <stigeide@yahoo.com> wrote in message news:faa59d77.0210300300.2fef0ad4@posting.google.com... > Does anyone have a tip of how to find the last Friday of a month? > > The last day of the month can be found with the INTNX function: > lastDay=intnx('month',today(),0,'E'); > This gives the SAS date value of the last day of the current month. > > Anyone have a suggestion? > > Thanks! > Stig Eide


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