> Here's a trick script. We know that some months have the last day >which is 30 while other is 31. As for February, it can be either 28 or >29. So, what's the trick in using the php to find out what is the last >day of the month if you want to checked it against the server's clock to >find out the last day of the month. Suppose it is this month or 3 months >ago or 3 months from now. Anyone know?
If you're in unix, pull the last token from the default output of `cal`: August 2003 S M Tu W Th F S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 --------------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php