Ok, well, I like sscanf, much more useful for breaking this stuff up, but lets see what we can do. To work with this date, we need to first split the numbers into something useful.
// Split our date by the space to get the date and the time in an array
$datetime_parts = split(" ", $myrow[post_time]);
// Now, split the date by the hypens to get the year/month/day in an array
$date_parts = split("-", $datetime_parts[0]);
// Now, split the time to get the hour/minute in an array
$time_parts = split(":", $datetime_parts[1]);
// Now, we need to format the date with the additional time
$datenew = date("Y-m-d H:i", mktime($time_parts[0] + 8, $time_parts[1], 0, $date_parts[1], $date_parts[2], $date_parts[0]));
The last action you'll probably have to look up, the date() function date the string "Y-m-d H:i" as the format, Year-month-day Hour:minute from the timestamp that mktime() creates. When we call this function, we pass it the following (hour, minute, seconds, month, day, year). We just put the +8 in the hour section to bump up the time difference you need. Another note is that the date function combined with the mktime will reformat the date to always be valid, so if the hour is actually 22, and you add 8, it will bump up the day once and end up being 6. Hope that helps!
Chris King