On 31 January 2006 14:52, Barry wrote: > Ford, Mike wrote: > > On 31 January 2006 14:12, Barry wrote: > > > > > > > Barry wrote: > > > Last try: > > > Edit: > > > > > also 31st January -> +2 Month -> is for me 3rd April > > > > > > > 31st March is not true because i miss "3" (!!) days. > > > > > > > Huh? Are you saying that, for you: > > > > strtotime("+2 months"); > > > > gives 3rd April? If so, I would be absolutely amazed, > because I get 31st March, which is exactly what I expect. > > > > Of course, if you add 1 month to 31st Jan, then add 1 month > to the result, you will get 3rd April -- but that's not the > same as simply adding 2 months to 31st Jan. If you want 2 > months from today, ask for 2 months from today -- not 1 month > from 1 month from today!! > > > Thats not logic at all. > > If you want 2 apples ask for two ones. Not for one apple and one more > apple. Because you would just get 1 1/2. Wtf!? 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! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Headingley Campus, LEEDS, LS6 3QS, United Kingdom Email: m.ford@xxxxxxxxxxxxxx Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php