Formatting a date retrieved from MySQL [duplicate]

This question already has an answer here:

I am retrieving a date from my MySQL database in PHP using the current timestamp.

I get an output: 2015-09-29 17:51:35

I expect this output: 29-september-2015

Source: mysql

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.