RE: [PHP] Problem with date

From: Date: Wed, 07 Dec 2011 23:19:14 +0000
Subject: RE: [PHP] Problem with date
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-315948@lists.php.net to get a copy of this message
> > How about a little debugging here (and possibly elsewhere): > > > > if (isset($pubdate) && ($pubdate >0)) { > > $pubdate=strtotime($pubdate); > > } else { > > die("Barf. Can't run a string to time conversion on 0 or -1."); > > } > > > Thanks Kevin, This bombs and gives me the BARF!

« previous php.general (#315948) next »