is there a way to change this:
$modtime=date("M j Y g:i A", filemtime($dirArray[$index]));
$timekey=date("YmdHis", filemtime($dirArray[$index]));
<td sorttable_customkey='$timekey' class='files_ed_02'>$modtime</td>
into gmdate and adding two hours to the stamp? Trying to show the local time for when a file was uploaded to the server.
Edit
Aware that this is a common question, but because gmdate() only can hold 2 parameters, it seams? this won't work
$modtime=gmdate("M j Y g:i A",modtime()+(2*60*60), filemtime($dirArray[$index]));
$timekey=gmdate("YmdHis",timekey()+(2*60*60), filemtime($dirArray[$index]));