I have a DATETIME field within a SQL table and retrieve the data accordingly - when trying to use the date_diff function however I receive the following message:
Message: date_diff() expects parameter 1 to be DateTime, string given
is there a way to convert the string I have taken from the SQL DB back into a date/time, the field format is as follows:
Y -M -D H -M -S
2014-02-15 14:55:29