Tag: MySQL

PHP/MySQL dates

I have posted before as to a MySQL date, i.e. Y-m-d can be converted in a previous post here. I found myself this evening in need of converting UK dates back into the MySQL format. Now, the strtotime() function requires

Tagged with: , , ,

Converting stored MySQL dates into UK format

You will no doubt be aware that when you save a date in a MySQL database, it must be in the form of Y-m-d. I had some difficulty wrestling with the date() section of the PHP manual , and experimented for

Tagged with: , ,
Top