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

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

Reply via email to