This is what my current code this look:
<?php echo $user_join_date; ?>
This is what it echo's:
2011-04-24
I want it to echo this:
开发者_StackOverflowApril 4th, 2011
What is the easiest way to that?
<?php echo date('F jS, Y', strtotime($user_join_date)); ?>
See the date function
精彩评论