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
2003 > 2001-12-12 > 2003-03-01 > " > > > Niklas > > > -Original Message- > From: John Clarke [mailto:[EMAIL PROTECTED]] > Sent: 2. marraskuuta 2001 8:17 > To: [EMAIL PROTECTED] > Subject: [PHP] year 2002 strtotime problem > > > I have

Re: [PHP] year 2002 strtotime problem

2001-11-01 Thread John Clarke
1.""; > 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 &

RE: [PHP] year 2002 strtotime problem

2001-11-01 Thread Niklas Lampén
Niklas -Original Message- From: John Clarke [mailto:[EMAIL PROTECTED]] Sent: 2. marraskuuta 2001 8:17 To: [EMAIL PROTECTED] Subject: [PHP] year 2002 strtotime problem I have this problem with Php 4.0.5 on both Win ME and Linus boxes, where my year 2002 dates are converted back to 2001 wh

[PHP] year 2002 strtotime problem

2001-11-01 Thread John Clarke
I have this problem with Php 4.0.5 on both Win ME and Linus boxes, where my year 2002 dates are converted back to 2001 when formating with 'strtotime'. First I post the following variables from an html page to a php page $date1='12/12/2001' $date2='15/01/2002' I then use date("D M j Y", strtot