Using the mysql DATE_FORMAT() function in your SELECT query will result in the quickest code. No slow php code (strtotime() and date()) is needed.
__________________
Error checking, error reporting, and error recovery. If your code does not have these to get it to tell you why it is not working, what makes you think someone in a programming forum will be able to tell you why it is not working???