There are several ways, one might be:
// Let the array be $timestamps.
// Let the specified timestamp be $specified_timestamp.
$timestamps = array();
$array = array_filter($timestamps, create_function('$t', 'global $specified_timestamp; return $t < $specified_timestamp;'));
$timestamp = max($array);
It is probably more efficient to go through the array manually and check each element.