By default (by javaFX scene bilder) comes the datepicker month, day, and year. I would like to know how to take the day, and leave only month and year. If you have it, thanks!
By default (by javaFX scene bilder) comes the datepicker month, day, and year. I would like to know how to take the day, and leave only month and year. If you have it, thanks!
Take a look at this article . The part that sets the format you want is:
birthdayDatePicker.setDateFormat(new SimpleDateFormat("yyyy-MM-dd"));'