the data on the database looks like this, the column is called start_time:
16:30:00
I want to convert this to make it look cleaner. I am using the following code:
$st = $array[start_time];
......
$startime = date("g:i a", mktime($st));
The following is the result that I get:
4:13 pm
(:13 is what the current time is on the server, not :30 which is part of the data...)
Can someone please tell me why I can not get the minutes?