This question already has an answer here:
- how to find the last monday of the month 3 answers
Is there any way in PHP to find out the last Wednesday of the current month? (or any day of the week for that matter)
For instance, the last Wednesday of this month (February 2014) is February 26, 2014
I know this would echo "February 2014"
echo date( 'F Y', strtotime( 'this month'));
This is my pseudo-code that doesn't work (it echoes "31 December 1969"):
echo date( 'd F Y', strtotime( 'last wednesday of this month'));
Any way to make this happen?
</div>