Re: strange behaviour with strtotime()
| From: | James Benson | Date: | Tue, 31 Jan 2006 16:10:12 +0000 |
| Subject: | Re: strange behaviour with strtotime() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229565@lists.php.net to get a copy of this message | ||
cheers for the help :)
Barry wrote:
> Ford, Mike wrote:
>> Yes, but 1 apple is 1 apple is 1 apple.
>>
>> 1 month can be 28 days, or 31 days, or anything in between. 2 months
>> can be anything from 59 to 62 days.
>>
>> A month is an imprecise measure, and adding them together will get you
>> an even more imprecise result.
>>
>> Deal with it -- that's just the way it is.
>>
>> Cheers!
>
> And now you tell me how the strtotime function tells what to use
> either 28 days or 31 days or 4 3/87 days.
>
> And that would help.
>
>> Deal with it -- that's just the way it is.
>
> It's not a bug, it's a feature!
>
> Yeah sure ...