Re: [PHP] year 2002 strtotime problem

2001-11-01 Thread John Clarke
Original Message- From: John Clarke [mailto:[EMAIL PROTECTED]] Sent: 2. marraskuuta 2001 9:11 To: [EMAIL PROTECTED] Subject: Re: [PHP] year 2002 strtotime problem Even more funny... I cut and pasted your code and I got; Wed Dec 12 2001 Sat Mar 1 2003 2001-12-12 2001-03-01 What version of Ph

RE: [PHP] year 2002 strtotime problem

2001-11-01 Thread Niklas Lampén
Great. :) I've got PHP 4.0.6 on linux. You? I think you should break the dates manually, it would be the most sure way to do it. Niklas -Original Message- From: John Clarke [mailto:[EMAIL PROTECTED]] Sent: 2. marraskuuta 2001 9:11 To: [EMAIL PROTECTED] Subject: Re: [PHP] year

Re: [PHP] year 2002 strtotime problem

2001-11-01 Thread John Clarke
Even more funny... I cut and pasted your code and I got; Wed Dec 12 2001 Sat Mar 1 2003 2001-12-12 2001-03-01 What version of Php and OS are you using?? John "Niklas lampén" <[EMAIL PROTECTED]> wrote in message 000301c16369$6817a320$ba93c5c3@Niklas">news:000301c16369$6817a320$ba93c5c3@Niklas.

RE: [PHP] year 2002 strtotime problem

2001-11-01 Thread Niklas Lampén
Funny, I quickly tried this: "; print $date2.""; print date("Y-m-d", strtotime($date1)).""; print date("Y-m-d", strtotime($date2)).""; ?> And the result was this: " Wed Dec 12 2001 Sat Mar 1 2003 2001-12-12 2003-03-01 " Niklas -Original Message- From: John Clarke [mailto:[EMAIL PROT