I posted this in the coding forum, but never got the answer I wanted.... so I guess I will have to try here
I have got a date query that I need to select from a Microsoft SQL database.
The following query works fine on a MySql database, but get I get error on a MS 2000 db.
$query = "SELECT DATE_FORMAT(dateAdded, '%D %M %Y') AS date FROM table WHERE id = 1";
The MS Sql 2000 error reports:
Warning: MS SQL message: 'DATE_FORMAT' is not a recognized function name. (severity 15).