0 votes
743 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 1.0k views
0 votes
1 answer 994 views
asked Oct 29, 2021 in General by anonymous
0 votes
1 answer 8.9k views
asked Mar 5, 2018 in General by mithun (1.3k points)
0 votes
2 answers 12.1k views
0 votes
1 answer 1.1k views
asked Jan 23, 2022 in General by Sarath
0 votes
1 answer 1.1k views
asked Oct 29, 2021 in General by anonymous
...