easiest way to get 1st and last dates of the month?
| From: | Justin French | Date: | Tue, 03 Dec 2002 05:31:16 +0000 |
| Subject: | easiest way to get 1st and last dates of the month? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-126815@lists.php.net to get a copy of this message | ||
Hi,
I'm looking to get a unix timestamp for the first and last day of a month,
given a timestamp.
But so far everything i've come up with has been waaaay too many lines of
trickery -- especially for the last day of the month (which isn't always 31)
Any ideas or snippets of code floating around?
Justin French
--------------------
http://Indent.com.au
Web Development &
Graphic Design
--------------------