Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

get day of week java

public static String getDayStringNew(LocalDate date, Locale locale) {
    DayOfWeek day = date.getDayOfWeek();
    return day.getDisplayName(TextStyle.FULL, locale);
}
 
PREVIOUS NEXT
Tagged: #day #week #java
ADD COMMENT
Topic
Name
9+5 =