Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formatting Date from MySQL

Status
Not open for further replies.

gmail2

Programmer
Jun 15, 2005
987
IE
Is there any easy way of formatting a date pulled from mysql without having to take the string apart? The php date() function only works with integers, not actual dates as far as I can see. I don't mind storing the date as an integer instead, however the system I'm working on also needs to have the ability to upload .csv files into a table which has dates. How can I convert them from UK date format to either integer or MySQL date format?

Thanks in advance for any help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top