Convert date coming

How to convert date coming from database to specific format like this (12 DEC 2016)

You can use MySQL DATE_FORMAT() function

or you can convert this date into a unix timestamp and then use date() function to format:

$date_formatted = date("d M Y", strtotime($row['date']));

Thnks for the reply @pbsonawane

Thnks for the reply… @coldusiondvplr

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.