RE: [PHP] easy date question?

From: Date: Wed, 29 May 2002 00:59:28 +0000
Subject: RE: [PHP] easy date question?
Groups: php.general 
Request: Send a blank email to php-general+get-99603@lists.php.net to get a copy of this message
1. set date = 1 2. get day of 1st of month 3. if day != tuesday, set date = 10-day_num (assuming Sun = 0, Mon = 1, etc) 4. add 14 to date 5. now you have your date There's most likely a better way of doing it though -----Original Message----- From: Ed Lazor [mailto:osmosis@atfantasy.com] Sent: Wednesday, May 29, 2002 10:49 AM To: php-general@lists.php.net Subject: [PHP] easy date question? How can I find out the date of the 3rd Tuesday of any given month? Thanks, -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#99603) next »