Remove seconds from the TIME function?

jimbluey

New Member
Okay so have a database that uses the time functions for a list of events and then displays the data as: \[code\] echo "<b>Time Frame:"; echo "$time_start"; echo "&nbsp;-&nbsp;"; echo "$time_end"; \[/code\]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
 
Back
Top