Link to home
Start Free TrialLog in
Avatar of PeterErhard
PeterErhard

asked on

php format date

Is there a way in PHP I can format "2011-09-17" to "Saturday, 17 September 2011"?
ASKER CERTIFIED SOLUTION
Avatar of Garry Glendown
Garry Glendown
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If all you have is the input shown above, you could do this:

$datestring=date("l, j F Y",strtotime($inputdate));

Open in new window

Avatar of PeterErhard
PeterErhard

ASKER

Thank you both very much.