converting custom field date format

I am using the More Fields plugin which gives me the ability to create a date formatted YYYY/mm/dd and I want to convert that to be shown like: February 11, 2011

Is this possible?

3 Answers
3

Do you have issue with exactly converting or retrieval? Converting is trivial and is plain PHP:

date('F j, Y', strtotime($date));

For more complex and WordPress-specific way with localization support see date_i18n() function.

Leave a Comment