I want to convert a timestamp in MySQL to a date.
I would like to format the user. registration field into the text file as a yyyy-mm-dd.
Here is my SQL:
$sql = requestSQL("SELECT user.email,
FROM user, info
WHERE user.id = info.id ", "export members");
I also tried the date conversion with:
I echo the result before to write the text file and I get :
How can I convert that field to date?