MishelM Posted November 2, 2010 Share Posted November 2, 2010 look at this page here http://www.sonlifenetwork.net/index.php?option=com_djschedule&view=all&Itemid=91 I want the time to display as 2:00 am instead of simply 02:00 or 08:30 to display as 8:30 pm - this is the code that I have currently. time_format(b.dj_starttime,'%h:%i') as djstarttime, I am not very good with php (obviously) is there anyone that will take pity on me and share their knowledge with me? Quote Link to comment https://forums.phpfreaks.com/topic/217605-how-to-display-time-with-meridian/ Share on other sites More sharing options...
mikosiko Posted November 2, 2010 Share Posted November 2, 2010 %p Quote Link to comment https://forums.phpfreaks.com/topic/217605-how-to-display-time-with-meridian/#findComment-1129700 Share on other sites More sharing options...
MishelM Posted November 4, 2010 Author Share Posted November 4, 2010 Thank you sooo much - that did the trick!! Quote Link to comment https://forums.phpfreaks.com/topic/217605-how-to-display-time-with-meridian/#findComment-1130354 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.