Get the day of the last Friday of the month

nicolas nahuel

New Member
Hello everyone.
I have a problem, I need to get the day of the last Friday of the month, FROM the current date. I tried everything but I can't find the solution, has someone already tried something similar to guide me?

It would be very helpful.
Thanks a lot
 

Dompel

New Member
Try something like this:

1. Go to first day of next month
2. Step back one day
3. Check in loop if it is Friday
4. If not step back one day and check again
 
Top