Using the date function, what's the easiest way to find the date of the
next
Friday?
Why use the date() function?
$next_friday = strtotime(next friday);
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Responding to my own message. This is making me a little ticked. I can't
think it through. Here's exactly what I need:
There are a bunch of series of files (A series, B series, and so on) that
are to be released on the first, second, third, fourth, or (if it exists for
that month) fifth Friday
Ummm, I've read this twice, and don't get it!!!
You want to make:
- an 'A' file available on the first friday of the month
- an 'B' file available on the second friday of the month
- an 'C' file available on the third friday of the month
- an 'D' file available on the fourth friday of the month
3 matches
Mail list logo