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) Link to comment https://forums.phpfreaks.com/topic/229211-date-time-formatting-after-pulled-from-database/ Share on other sites More sharing options...
Pikachu2000 Posted March 1, 2011 Share Posted March 1, 2011 MySQL's DATE_FORMAT() function. Link to comment https://forums.phpfreaks.com/topic/229211-date-time-formatting-after-pulled-from-database/#findComment-1181076 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.