public static String getDayName(double currentTime){
        String dayName = "";
        int day = getDay(currentTime);
        switch(day){
            case 7: dayName = "Sunday";
                break;
            case 6: dayName = "Saturday";
                break;
            case 5: dayName = "Friday";
                break;
            case 4: dayName = "Thursday";
                break;
            case 3: dayName = "Wednesday";
                break;
            case 2: dayName = "Tuesday";
                break;
            case 1: dayName = "Monday";
                break;
        }
        return dayName;
    }