Re: str_to_date equivalent in PHP

From: Date: Tue, 28 Jul 2009 17:03:19 +0000
Subject: Re: str_to_date equivalent in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-295951@lists.php.net to get a copy of this message
2009/7/28 Thodoris <tgol@kinetix.gr>: > Hi gang, >   I've been looking for a str_to_date (mysql) equivalent in PHP. I've > noticed that these are matching the description: > > http://www.php.net/manual/en/datetime.createfromformat.php > >http://www.php.net/manual/en/function.date-create-from-format.php > > but I don't have PHP 5.3.0 installed in any of my systems to test it and the > function/method is not well documented yet. So I will have to write a > workaround this. > > Has anybody tried this? Does strtotime() not work for you? -- Richard S. Crawford (rscrawford@mossroot.com) http://www.mossroot.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

« previous php.general (#295951) next »