You are viewing a single comment's thread. Return to all comments →
Here is my Code:
public static String findDay(int month, int date, int year) {
Calendar givenDate = Calendar.getInstance(); givenDate.set(year,month-1,date); int d = givenDate.DAY_OF_WEEK; String dayWeek = givenDate.getDisplayName(d, givenDate.LONG, Locale.US); return dayWeek.toUpperCase(); }
Seems like cookies are disabled on this browser, please enable them to open this website
Java Date and Time
You are viewing a single comment's thread. Return to all comments →
Here is my Code:
public static String findDay(int month, int date, int year) {