java how to find out the date day of the week? Example: 11/29/2016 you need to get 11/29/2016 = "Tuesday";

    1 answer 1

    Calendar c = Calendar.getInstance(); c.setTime(yourDate); int dayOfWeek = c.get(Calendar.DAY_OF_WEEK); 
    • and how taking into account that the beginning of the week is there from Sunday? - Konstantin Smirnov
    • @ KonstantinSmirnov use setFirstDayOfWeek method - mrchebik