[PHP-DEV] Re: Invalid date/time handling - strtotime()

2015-09-11 Thread Derick Rethans
On Wed, 9 Sep 2015, Yasuo Ohgaki wrote: > Hi Derick, > > On Wed, Sep 9, 2015 at 1:31 AM, Derick Rethans wrote: > > Currently, it works as follows by design: > > > > - the parser, allows for each unit (year, month, day, hour, minute, > > second) the full range of values. For a year that's just

[PHP-DEV] Re: Invalid date/time handling - strtotime()

2015-09-08 Thread Yasuo Ohgaki
Hi Derick, On Wed, Sep 9, 2015 at 1:31 AM, Derick Rethans wrote: > Currently, it works as follows by design: > > - the parser, allows for each unit (year, month, day, hour, minute, > second) the full range of values. For a year that's just 4 digits, for > a month that's 0-12, day is 0-31 and

[PHP-DEV] Re: Invalid date/time handling - strtotime()

2015-09-08 Thread Derick Rethans
Hi, Currently, it works as follows by design: - the parser, allows for each unit (year, month, day, hour, minute, second) the full range of values. For a year that's just 4 digits, for a month that's 0-12, day is 0-31 and for hour and minute it's 0-59. - 60 is allowed for seconds, as someti