Re: mysql date to php date

From: Date: Thu, 08 Aug 2002 05:11:12 +0000
Subject: Re: mysql date to php date
Groups: php.general 
Request: Send a blank email to php-general+get-111608@lists.php.net to get a copy of this message
I'm sure if you check the manual: http://www.php.net/manual/en/function.date.php you'll find something very useful there. Or, you can also check the mysql manual (doc): http://www.mysql.com/doc/en/Date_and_time_functions.html Best regards, - E
Hey php-general, i have date field in my database it has value: $date = "20020804125536" how do i take it from database to page and convert to normal date? can somebody point me to some tutorials or what function to use...i have hard time lookin for that...thanks i have like this: while ($row = mysql_fetch_array($resultatai)) { $gb_date = $row['date']; .... echo "$gb_date"; in page looks like: 20020804125536 -- Best regards, Mantas Contacts: Mantuks@attbi.com Http://www.mntkz.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________ きっと見つかるあなたの新居 不動産情報は MSN 住宅で http://house.msn.co.jp/

« previous php.general (#111608) next »