localDate java to get current day code example
Example: java get current year
import java.util.Calendar;
int year = Calendar.getInstance().get(Calendar.YEAR);
import java.util.Calendar;
int year = Calendar.getInstance().get(Calendar.YEAR);