I am currently building a project management system in PHP and MySQL but am having problems formatting the date correctly. As a test I have manually inserted values into a date column in one of my tables. Looks like this: 2002-12-19.
When I do this:
SELECT project_number, project_name, description, DATE_FORMAT('start_date', '%d/%m/%y') AS Start_date, completion_date, status FROM project;
The result returned in the Start_date columm is NULL....
Any ideas why this might be happening?
Cheers! Thomas Shearer
Multimedia Developer
When I do this:
SELECT project_number, project_name, description, DATE_FORMAT('start_date', '%d/%m/%y') AS Start_date, completion_date, status FROM project;
The result returned in the Start_date columm is NULL....
Any ideas why this might be happening?
Cheers! Thomas Shearer
Multimedia Developer