0 votes
56 views
in General by (960 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.8k views
0 votes
2 answers 10.2k views
0 votes
0 answers 27 views
0 votes
0 answers 28 views
0 votes
1 answer 33 views
0 votes
1 answer 66 views
...