I really appreciate your help so far,
I have messed with it for a day or so and I am 90% there, I have everything working except I cannot divide the difference in half.
Here is what I have:
$GetDate = dateDiff($row1['Date'], $row2['Date']); // FIND DIFFERENCE
$NewDate = $GetDate/2; // THIS DOES NOT WORK
echo $row1['Date']."<br />".$row2['Date']."<br />";
echo $GetDate."<br />".$NewDate."<br />\n";
echo date('Y-m-d H:i:s', strtotime("+".$GetDate, strtotime($row1['Date'])) )."<br />\n";
echo date("Y-m-d H:i:s", strtotime("$row1['Date'] +1 hour")); // HACK - BUT THIS IS WHAT I WANT IN THE END
Here is a page where you can see the code outputs:
http://www.creativeink.ca/masonal/admin/reorder-faq.php?qid=3&&direction=up
The last one is a hack, but that's essentially the final outcome I am looking for.
I used a Date Difference script from this site:
http://www.if-not-true-then-false.com/2010/php-calculate-real-differences-between-two-dates-or-timestamps/
Then it outputs the "2 hours", however I cannot figure out how to divide the 2 hours in half. However after this I use strotime to add the Date difference and I get the output I am looking for.
So basically my question now is: How do I divide time in words in half? If I have 2 hours how do I get it to 1 hour? Or if it was 12 hours have it go to 6 hours?
Thanks again for anyones help!