Validate The Last Day of Month with server's clock????
| From: | Scott Fletcher | Date: | Wed, 13 Aug 2003 19:00:21 +0000 |
| Subject: | Validate The Last Day of Month with server's clock???? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-159470@lists.php.net to get a copy of this message | ||
Hi!
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?
Thanks!