Re: change date format in MYSQL
Posted by: larsen mcalister
Date: April 07, 2009 02:52AM

To convert date between PHP and MySQL date is very easy with date() and strtotime() functions.
Here is an example:
http://n1scripts.com/php_scripts/php_convert_date_to_mysql_date?show=scripts&id=21

... or you can use MySQL DATE_FORMAT(), to select date which format you want.
Check it out here:
http://n1scripts.com/mysql_scripts/mysql_convert_datetime_format_to_php?show=scripts&id=18

Options: ReplyQuote


Subject
Written By
Posted
December 18, 2006 02:56AM
December 18, 2006 09:34AM
December 19, 2006 09:56AM
Re: change date format in MYSQL
April 07, 2009 02:52AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.