<?php $timeEnd = '2013-08-12 01:15:23'; $toHour = 10; $timeStart = date('Y-m-d H:i:s', strtotime($timeEnd) - $toHour * 3600); echo "Fetch data between $timeStart to $timeEnd";
You have javascript disabled. You will not be able to edit any code.