I am trying to convert a date in format (yyyy-mm-dd) to a textual date format like Monday 21 Jan 2012 using PHP. I have tried using mktime() function but I’m a novice and I cant figure it out.
Any help will be grealty appreciated.
e.g :- convert 2012-04-27 => Friday 27 April 2012
Thanks.
You can make use of the
DateTimeclass (which is recommended overstrtotime):