Re: Date function
| From: | Brian C. Doyle | Date: | Wed, 15 Aug 2001 15:18:11 +0000 |
| Subject: | Re: Date function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62846@lists.php.net to get a copy of this message | ||
I use
$date = explode("-", $msql_date);
$date = date("d F",mktime(0,0,0,$date[1],$date[2],$date[0]));
At 08:08 AM 8/15/01 -0700, Mike Mike wrote:
Hello, I'm pulling a date out of MySQL as 2001-10-18. How do I make it print October 18 in php? Thanks much --Mike __________________________________________________ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net