0 votes
519 views
in General by (1.3k 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 681 views
0 votes
1 answer 678 views
asked Oct 29, 2021 in General by anonymous
0 votes
1 answer 8.6k views
asked Mar 5, 2018 in General by mithun (1.3k points)
0 votes
2 answers 11.7k views
0 votes
1 answer 745 views
asked Jan 23, 2022 in General by Sarath
0 votes
1 answer 700 views
asked Oct 29, 2021 in General by anonymous
...