0 votes
3 views
in General by (870 points)

I have a date value from database as 12-12-2015. I want December 12, 2015 as output.

1 Answer

0 votes
by (500 points)
selected by
 
Best answer
In date format function use F for Full month Display.

$date = "12-12-2015";

echo date("F d, Y", strtotime($date));

Related questions

0 votes
1 answer 7.7k views
0 votes
2 answers 10.2k views
0 votes
1 answer 4 views
0 votes
1 answer 12 views
0 votes
2 answers 4.5k views
asked Jul 17, 2018 in General by anonymous
...