Is there a built in function in PHP that can convert date to string?
I have already tried
date("M jS, Y", strtotime("2014-04-12"));
but our client don't want this output.
Say I have a php variable holding date
$dateToday = '2014-04-12'
I want the output in this format: "Four April Two Thousand and Fourteen" or it could be "April four two thousand and fourteen"
Is there any PHP built in function through which I can do this? If not please suggest me how can I achieve this.