Jump to content

MYSQL VarChar to Date


rajaboys

Recommended Posts

I have a database in which the date is stored in varchar field in a

following format: date("F, d, Y"); ex: May, 27, 2008, now the problem

is that I want to change that field into mySQL date field as well as

convert my older dates into MySQL date format i-e Y-m-d (2007-08-06).

 

 

Thanks in Advance

 

Raja

Link to comment
https://forums.phpfreaks.com/topic/145871-mysql-varchar-to-date/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.