I’m using MagpieRSS to parse some Craigslist feeds.
The problem is the publish dates for craigslist posts are in this format: 2010-02-25T18:09:38-06:00
How can I convert that to Thursday, February 25, 2010 6:09 PM
using php?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
date()
edit:
is close, but doesn’t match your requirements exactly (i.e. it uses abbreviated days / months, 24hour time and includes a timezone string) as specified in RFC822