Last Friday of each month: Difference between revisions

Content added Content deleted
Line 2,133: Line 2,133:
</pre>
</pre>


Or get the last day of the month and go to the previous day until it's a friday.
Or get the last day of the month and go to the previous day until it's a Friday.
<lang ruby>require 'date'
<lang ruby>require 'date'