Re: Fwd: [PHP-NOTES] note 84633 added to function.strtotime

From: Date: Wed, 23 Jul 2008 06:33:39 +0000
Subject: Re: Fwd: [PHP-NOTES] note 84633 added to function.strtotime
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969379152@lists.php.net to get a copy of this message
On Wed, Jul 23, 2008 at 03:20, Daniel Brown <parasane@gmail.com> wrote: > On Tue, Jul 22, 2008 at 8:51 PM, Thiago H. Pojda <thiago.pojda@gmail.com> wrote: >> Guys, >> >> I'd like to integrate this note as an example to this function, what do you >> think? > > There isn't a MySQL-style timestamp in the examples on the page as > it is now. I would just incorporate a one-line bit into Example #1 to > show that the timestamp would generate the date. For example, at the > bottom of the example, insert: > > echo strtotime("2008-07-22 21:18:00"), "\n"; And a comment above it "MySQL style timestamp" or something.. AFAIK, Derick has some docs coming, explaining how the strtotime() parser works and what kind of dates/strings it actually supports.. Something that we are really missing :( Right Derick? -Hannes

« previous php.doc (#969379152) next »