Re: date problem with dateElementFormat
| From: | Brett Bieber | Date: | Fri, 07 Jan 2011 19:15:53 +0000 |
| Subject: | Re: date problem with dateElementFormat | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-30902@lists.php.net to get a copy of this message | ||
On Fri, Jan 7, 2011 at 1:07 PM, Jon Savian <worknit@gmail.com> wrote:
>
> On Fri, Jan 7, 2011 at 10:39 AM, Michael Gauthier <mike@silverorange.com> wrote:
> > On Fri, 2011-01-07 at 09:48 -0800, worknit wrote:
> >> Hi I am using PEAR version 1.7.1 and am having a problem with
> >> $dateElementFormat = 'd-m-Y' -- for some reason my years stop at
> >> 2010, 2011 cannot be displayed. Why is this the case? My local
> >> system time shows 2011.
>
> It just says 2001 through 2010. Maybe i am just using it wrong? Is
> there a way to specify a time range?
>
See the docs about the 'maxYear' option:
http://pear.php.net/manual/en/package.html.html-quickform.html-quickform-date.html-quickform-date.php
--
Brett Bieber
University of Nebraska-Lincoln