Remove seconds from the TIME function?
- by user1876032
Okay so have a database that uses the time functions for a list of events and then displays the data as:
echo "<b>Time Frame:";
echo "$time_start"; echo " - "; echo "$time_end";
Although that displays the time as 11:00:00 if i want the time to be 11:00 am. Is there anyway to make this time display as a standard "11:00"? and also if in the mysql datababse enter it as military time (ex. 13:00) to make it display 1:00pm?
I have tried many things. Please help.
http://pastebin.com/kaTZzGrx