Find the last friday of each month.
| From: | OrangeHairedBoy | Date: | Sun, 26 Oct 2003 19:37:21 +0000 |
| Subject: | Find the last friday of each month. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-167641@lists.php.net to get a copy of this message | ||
Hi all,
I'm trying to write a script to get the next last friday of the month and I
am failing miserably. It keeps giving me October 10th. So, I scrapped it.
Basically, I just want to show what the last friday of the month is, and if
that date has already passed, show the last friday of the next month.
How can I do that?