In my mysql db I got a timestamp field, the values are:
2013-01-30 01:15:00
2013-01-30 01:20:00
I use the date function to print it as 24HOUR:MINUTE format but I get a wrong time result.
mysql_query('SELECT time FROM locations ORDER BY time ASC');
...
echo "<td>" . date('H:i',$row['time']) . "</td>";
The output is: 00:33 for both records, why?