Re: Last Friday of every month
| From: | Richard Heyes | Date: | Fri, 14 Mar 2008 09:02:53 +0000 |
| Subject: | Re: Last Friday of every month | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271563@lists.php.net to get a copy of this message | ||
VamVan wrote:
Can you tell me how to do this ? suppose I have a date variable = '02/23/2008' i need to know if this is the last friday of february....Work backwards from the 28th subtracting 86400 from your Unix timestamp until you get to a Friday. Compare this with your variable. -- Richard Heyes Employ me: http://www.phpguru.org/cv