This is because date_format accepts an object and not a string. You should use the function date and pass to it’s second argument a timestamp.
solved php not converting dates
This is because date_format accepts an object and not a string. You should use the function date and pass to it’s second argument a timestamp.
solved php not converting dates