HCProfessionals Posted March 1, 2011 Share Posted March 1, 2011 Currently the date is stored in the database as 28-02-2011 - 21:00:30 and the variable is: $date['mTime'] How can I format it too look "pretty" like this: February 28, 2011 - 10:00 PM? (don't need the seconds) Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted March 1, 2011 Share Posted March 1, 2011 MySQL's DATE_FORMAT() function. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.