Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2004032

Re: [PHP] finding certain dates in the future (again) From: Jason Wong (php-general <email protected>)
Date: 03/31/04

On Wednesday 31 March 2004 19:28, Andy B wrote:

> Is there any way to find say the third monday of the month (all months of
> the year) for any year (up to 2038) and show them in a combo box as exact
> dates?

strtotime("third monday", mktime(0, 0, 0, $month, 1, $year));

I'm sure you can work out the rest.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Time is fluid ... like a river with currents, eddies, backwash.
		-- Spock, "The City on the Edge of Forever", stardate 3134.0
*/

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php