Re: Evaluating server date ranges?
| From: | James Green | Date: | Mon, 12 Aug 2002 22:00:35 +0000 |
| Subject: | Re: Evaluating server date ranges? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112216@lists.php.net to get a copy of this message | ||
On Mon, 2002-08-12 at 10:41, Joe in Minneapolis wrote:
> What's the best way to evaluate the server date to see if it's within a
> specified date range?
Hm I'd [gm]mktime() both boundary dates, then turn all three dates into
unix timestamps and check the server date is within the two integer
boundaries.
http://www.php.net/manual/en/function.gmmktime.php
James