Re: how to use the function "strtotime"

From: Date: Mon, 24 Sep 2001 08:02:31 +0000
Subject: Re: how to use the function "strtotime"
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-68490@lists.php.net to get a copy of this message
<Original message> From: ~~~i LeoNid ~~ <nux@hosting.front.ru> Date: Fri, Sep 21, 2001 at 02:31:09PM +0000 Message-ID: <3bab4e57.9001311@localhost> Subject: Re: [PHP] how to use the function "strtotime" > On Thu, 20 Sep 2001 11:49:02 +0200 impersonator of renze@datalink.nl (* > R&Ze:) planted &I saw in php.general: > > >It's not all that difficult, really. It's exactly how it's described > > Well. They don't describe (in my copy of documentation, at least:) a > return on error. And it dosn't blew up an error message. I had to find it > by myself. It (in 4.0.6, at least) returns -1 on erroneous data supply. > > Make sure, you check for that, if, like, you convert user data, otherwise > it will blow up on its further processing. > -- > i leonid http://nux.home.dk3.com </Original message> <Reply> :) I've posted it... It should be in the documentation soon :) </Reply> -- * R&zE: -- »»»»»»»»»»»»»»»»»»»»»»»» -- Renze Munnik -- DataLink BV -- -- E: renze@datalink.nl -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- ««««««««««««««««««««««««

« previous php.general (#68490) next »