Re: strtotime()
| From: | Daniel Brown | Date: | Mon, 23 Aug 2010 21:57:28 +0000 |
| Subject: | Re: strtotime() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307631@lists.php.net to get a copy of this message | ||
On Mon, Aug 23, 2010 at 17:02, Ashley Sheridan <ash@ashleysheridan.co.uk> wrote:
>
> The example you quote as being straight from the manual page is actually
> from the user-submitted code snippets, and I can't find the
> documentation to support it. I can only assume that it's possibly an
> experimental thing, or something that shouldn't work but by freak
> coincidence does occasionally. Maybe use mktime() instead to get the
> dates?
Relative date strings - specifically including those terms - are
in PHP5 >= 5.3.0 exclusively, for now. I don't believe there are any
plans to backport it to the 5.2 branch.
Rick, if you want to add this as a "Documentation Problem" to
http://bugs.php.net/, one of us will likely add it to the
documentation, as it probably should not only be noted, but also be in
an easy-to-find place (you know, such as right there on the
strtotime() manual entry).
--
</Daniel P. Brown>
UNADVERTISED DEDICATED SERVER SPECIALS
SAME-DAY SETUP
Just ask me what we're offering today!
daniel.brown@parasane.net || danbrown@php.net
http://www.parasane.net/ || http://www.pilotpig.net/