public static function dateRange($date0, $date1, $prefix = true)
    {
        $date0 = strtotime('Today 00:00:00', strtotime($date0));
        $date1 = strtotime('Today 00:00:00', strtotime($date1));
        $range = [date('d/m/Y', min($date0, $date1))];
        if ($date0 != $date1) {
            $range[] = date('d/m/Y', max($date0, $date1));
        }
        $prefix = ($prefix ? 'Data' . ($date0 != $date1 ? 's' : '') . ': ' : '');
        $glue = (strtotime('+ 1 day', $date0) == $date1 ? ' e ' : ' a ');
        return $prefix . implode($glue, $range);
    }