I have a mysql database where I have a time field. when the timefield is displayed like
$orlstarttime=$row["orlstarttime"];
print"<td>$orlstarttime<br></td>";
I also see the seconds. and I just need the hour and minutes. when I try something like
strftime('%H:%M',$row["orlstarttime"]);
the values are all the same 19:00 ??
how can I format a time value the way I want it ??
$orlstarttime=$row["orlstarttime"];
print"<td>$orlstarttime<br></td>";
I also see the seconds. and I just need the hour and minutes. when I try something like
strftime('%H:%M',$row["orlstarttime"]);
the values are all the same 19:00 ??
how can I format a time value the way I want it ??