The best idea is to turn TIMESTAMP to UNIX time (select unix_timestamp(time) as unixtime), andd then apply php date() function to it:
echo date(format string, $row['unixtime']);
(in your case format string is to be 'Y/m/d').
Or you can just work with timestamp as a string:
echo substr($time, 0, 4).'/'.substr($time, 4, 2).'/'.substr($time, 6, 2);