0 votes
492 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 628 views
0 votes
1 answer 624 views
asked Oct 29, 2021 in General by anonymous
0 votes
1 answer 8.5k views
asked Mar 5, 2018 in General by mithun (1.3k points)
0 votes
2 answers 11.6k views
0 votes
1 answer 681 views
asked Jan 23, 2022 in General by Sarath
0 votes
1 answer 634 views
asked Oct 29, 2021 in General by anonymous
...