RE: [PHP] date(n/Y) strtotime

2006-08-02 Thread Mark Steudel
Ok so actually I didn't solve it. Php5, this works, but php 4.4.1 and 4.4.0 don't handle this correctly. Here's my code I'm running on each box: function expDate2str( $date ) { if( !($sDate = strtotime( $date ) ) ) { echo Invalid, blowing up datebr /;

RE: [PHP] date(n/Y) strtotime

2006-08-02 Thread Mark Steudel
{ Echo 'true'; } All of those echo true, how do I determine if strtotime has failed or not? Mark -Original Message- From: Mark Steudel Sent: Wednesday, August 02, 2006 9:55 AM To: Mark Steudel; PHP Mailing Lists Subject: RE: [PHP] date(n/Y) strtotime Ok so actually I didn't solve

Re: [PHP] date(n/Y) strtotime

2006-08-02 Thread Adam Zey
' ) { Echo 'false'; } Else { Echo 'true'; } All of those echo true, how do I determine if strtotime has failed or not? Mark -Original Message- From: Mark Steudel Sent: Wednesday, August 02, 2006 9:55 AM To: Mark Steudel; PHP Mailing Lists Subject: RE: [PHP] date(n/Y) strtotime Ok so actually

RE: [PHP] date(n/Y) strtotime

2006-08-02 Thread Mark Steudel
Thanks Adam, I had sent out my second email before I had read yours. I'll give yours a go, thanks again. Mark -Original Message- From: Adam Zey [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 02, 2006 11:15 AM To: Mark Steudel Cc: PHP Mailing Lists Subject: Re: [PHP] date(n/Y

Re: [PHP] date(n/Y) strtotime

2006-08-02 Thread Adam Zey
email before I had read yours. I'll give yours a go, thanks again. Mark -Original Message- From: Adam Zey [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 02, 2006 11:15 AM To: Mark Steudel Cc: PHP Mailing Lists Subject: Re: [PHP] date(n/Y) strtotime Mark Steudel wrote