Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find last saturday in a month 1

Status
Not open for further replies.

CrystalizeCanada

Instructor
Mar 4, 2009
141
CA
Hi there,

I'm trying to determine fiscal periods. The fiscal periods end on the last sat of the month. The following period would then start on the following day (so they can cross over months).

My first step is to determine (I think) which day of the month is the last Saturday - is this a good approach?.

I'm thinking of looping backwards and checking the last day of the month and checking to see if its a saturday.

Any help guidance would be great.

Tx



Gordon BOCP
Crystalize
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top