Hi,
is it this?
// split the timestamp from the Database into date and time
list($date,$time) = explode(" ",$row->timestamp);
// split the date
list($year,$month,$day) = explode("-",$date);
// split the time
list($hour,$minute,$second) = explode(":",$time);
// make the UNIX-timestamp
$time_stamp =
mktime($hour,$minute,$second,$month,$day,$year);
// subtract 1 hour (= 3600 sec)
$time_stamp -= 3600;
// make the new Timestring
$new_time = date("M j Y, h:i a",$time_stamp);
echo $new_time;
Hope it works.
C.B.