setStep('selectTimeRange'); if (isset($_POST['save'])) { $task->rangeStart = $_POST['rangeStart'] . ' 00:00:00'; $task->rangeEnd = $_POST['rangeEnd'] . ' 00:00:00'; $task->nextStep(); } // Compute the tiems to show for the observational dataset list($obsStartTime,$obsEndTime) = $task->getTimeRange($task->observationalDatasetId); // Compute the times to show for the overlap list($overlapStart,$overlapEnd) = $task->computeOverlap( $task->modelBounds['time']['min'], // model start $task->modelBounds['time']['max'], // model end $obsStartTime, // obs start time $obsEndTime); // obs end time $task->showPreviousNextLinks(); ?>