On Mon, 2002-02-04 at 15:05, DL Neil wrote: > Torben, > > No offense, but in TFM (which you have of course R), follow the 'Date > > Input Formats' link to: > > > > http://www.gnu.org/manual/tar-1.12/html_chapter/tar_7.html > > > > You will find this sentence: > > > > The construct 'month/day/year', popular in the United States, is > > accepted. > > > > In other words, '10/12/2002' should work fine with strtotime(). The > > problem is elsewhere. > > > =One thing for sure, I'm not going to get into an argument with the guy who may well >have written that very part > of the manual !
Well, I didn't write that bit--and being an author doesn't necessarily make me any more likely to be correct--just more publicly wrong when I screw up. :) > =The -1 is the key indicator. Yeah, I forgot to mention to Toni why $date3 was so weird--feeding a string instead of a timestamp to date(). > =Rather than majoring on the manual, I was working on Toni's email address (which >told me very little) and the > fact that she is on the US Pacific Coast. In other words, her server time zone >(which affects the way data > functions work) is likely subject to Summer Time discontinuities. This combined with >the date being converted > back and forth with datetime formats, crosses the from one day to the other. Yeah, that's what I figured too (being in Vancouver, I run into this problem every so often). Cheers, Torben > =Regards, > =dn > -- Torben Wilson <[EMAIL PROTECTED]> http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php